@@ -15,31 +15,23 @@ jobs:
1515 - name : Set up Python
1616 uses : actions/setup-python@v5
1717 with :
18- python-version : ' 3.13 '
18+ python-version : ' 3.12 '
1919
2020 - name : Install dependencies
2121 run : |
2222 pip install -r requirements.txt
23- pip install ruff pip-audit safety
23+ pip install ruff
2424
2525 - name : Code formatting check
2626 run : |
2727 ruff check . || true
2828 ruff format --check . || true
29-
30- - name : Dependency security audit
31- run : |
32- pip-audit || true
33-
34- - name : Safety check
35- run : |
36- safety check || true
3729
3830 test :
3931 runs-on : ubuntu-latest
4032 strategy :
4133 matrix :
42- python-version : ['3.10', '3.11', '3.12', '3.13 ']
34+ python-version : ['3.10', '3.12 ']
4335
4436 steps :
4537 - uses : actions/checkout@v4
@@ -59,26 +51,23 @@ jobs:
5951 run : |
6052 python -m pip install --upgrade pip
6153 pip install -r requirements.txt
62- pip install pytest pytest-cov
54+ pip install pytest
6355
6456 - name : Run tests
6557 run : |
66- pytest --cov=. --cov-report=xml --cov-report=term || echo "Tests ready for implementation"
58+ pytest --cov=. --cov-report=xml || echo "Tests ready for implementation"
6759
6860 - name : Upload coverage
69- uses : codecov/codecov-action@v4
7061 if : success()
62+ uses : codecov/codecov-action@v4
7163 with :
7264 file : ./coverage.xml
7365
7466 docker :
7567 runs-on : ubuntu-latest
76-
7768 steps :
7869 - uses : actions/checkout@v4
79-
8070 - name : Build Docker image
8171 run : docker build -t app .
82-
8372 - name : Test Docker
8473 run : docker run --rm app python3 --version
0 commit comments