File tree Expand file tree Collapse file tree 6 files changed +7
-12
lines changed
Expand file tree Collapse file tree 6 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -36,27 +36,33 @@ jobs:
3636 steps :
3737 - name : Check out repository
3838 uses : actions/checkout@v4
39+
3940 - name : Set up python ${{ matrix.python-version }}
4041 id : setup-python
4142 uses : actions/setup-python@v5
4243 with :
4344 python-version : ${{ matrix.python-version }}
45+
4446 - name : Install Poetry
4547 uses : snok/install-poetry@v1
4648 with :
4749 virtualenvs-create : true
4850 virtualenvs-in-project : true
51+
4952 - name : Load cached venv
5053 id : cached-poetry-dependencies
5154 uses : actions/cache@v4
5255 with :
5356 path : .venv
5457 key : venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
58+
5559 - name : Install dependencies
5660 if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
5761 run : poetry install --no-interaction --no-root
62+
5863 - name : Install library
5964 run : poetry install --no-interaction
65+
6066 - name : Run tests
6167 run : |
6268 source .venv/bin/activate
Original file line number Diff line number Diff line change 9595- code structure - (90d2678) - containerscrew
9696- code and doc - (686cd5c) - containerscrew
9797- documentation and code - (7c93213) - containerscrew
98-
99-
Original file line number Diff line number Diff line change 88from cloudsnake .logger import init_logger
99from cloudsnake .tui import Tui
1010from rich import traceback
11- from rich .console import Console
1211
1312traceback .install (show_locals = False )
1413
Original file line number Diff line number Diff line change 11from typing import Optional
22import typer
33
4- from cloudsnake .cli .dto import OutputMode
54from cloudsnake .sdk .ec2 import EC2InstanceWrapper
6- from cloudsnake .sdk .ssm_parameter_store import SSMParameterStoreWrapper
75from cloudsnake .sdk .ssm_session import SSMStartSessionWrapper
86
97EC2_RUNNING_FILTER = "Name=instance-state-name,Values=running"
Original file line number Diff line number Diff line change 11from __future__ import annotations
22
33import jmespath
4- from typing import Any , Dict , List , Optional
4+ from typing import Any , Dict , Optional
55
66from cloudsnake .helpers import parse_filters
77from cloudsnake .sdk .aws import App
Original file line number Diff line number Diff line change 1- import json
2- import random
3-
41from rich .console import Console
5- from rich .table import Table
6- from rich import print
72from simple_term_menu import TerminalMenu
8- from cloudsnake .helpers import serialize_datetime
93
104"""
115Color list
You can’t perform that action at this time.
0 commit comments