1- name : Continuous Integration
1+ name : CI
22
33on :
44 push :
88
99jobs :
1010 test :
11- runs-on : ${{ matrix.os }}
11+ runs-on : ubuntu-latest
1212 strategy :
1313 matrix :
14- os : [ubuntu-latest, windows-latest, macos-latest]
15- python-version : [3.8, 3.9, "3.10", "3.11", "3.12"]
14+ python-version : [3.8, 3.9, "3.10", "3.11"]
1615
1716 steps :
1817 - name : Checkout code
@@ -28,18 +27,10 @@ jobs:
2827 python -m pip install --upgrade pip
2928 pip install -r requirements.txt
3029 pip install pytest pytest-cov
31- pip install .
3230
3331 - name : Run tests
3432 run : |
35- python -m pytest tests/ -v --cov=shellrosetta --cov-report=xml
36-
37- - name : Upload coverage to Codecov
38- uses : codecov/codecov-action@v3
39- with :
40- file : ./coverage.xml
41- flags : unittests
42- name : codecov-umbrella
33+ python -m pytest tests/ -v
4334
4435 lint :
4536 runs-on : ubuntu-latest
@@ -55,17 +46,11 @@ jobs:
5546 - name : Install dependencies
5647 run : |
5748 python -m pip install --upgrade pip
58- pip install flake8 black mypy pytest pytest-cov
49+ pip install flake8 black mypy
5950 pip install -r requirements.txt
60- pip install .
6151
6252 - name : Run linters
6353 run : |
64- # Run flake8 with more lenient settings
6554 flake8 shellrosetta/ tests/ --max-line-length=88 --ignore=E501,W293,W291,W292,E302,E305,F401,F841 || true
66-
67- # Run black to check formatting
6855 black --check shellrosetta/ tests/ || true
69-
70- # Run mypy with basic checks
71- mypy shellrosetta/ --ignore-missing-imports || true
56+ mypy shellrosetta/ --ignore-missing-imports || true
0 commit comments