@@ -11,31 +11,32 @@ jobs:
1111 with :
1212 python-version : ' 3.x'
1313 - name : Install dependencies
14- run : |
15- python -m pip install --upgrade pip
16- python -m pip install poetry
17- poetry install
14+ run : |
15+ python -m pip install --upgrade pip
16+ python -m pip install poetry
17+ poetry install
18+ pip install -I flake8
1819 - name : Style Checks
1920 run : flake8 tom_* --exclude=*/migrations/* --max-line-length=120
2021
21- run_tests :
22+ run_tests :
2223 runs-on : ubuntu-latest
2324 strategy :
2425 matrix :
25- python-version : ["3.11 ", "3.10", "3. 9", "3.8 "]
26- os : [ubuntu-latest, macos-latest ]
26+ python-version : ["3.8 ", "3.9", "3.10 "]
27+ os : [ubuntu-latest]
2728 steps :
2829 - uses : actions/checkout@v2
2930 - uses : actions/setup-python@v2
3031 with :
3132 python-version : ${{ matrix.python-version }}
3233 - name : Install dependencies
33- run : |
34- python -m pip install --upgrade pip
35- python -m pip install poetry
36- poetry install
37- - name : Run Tests
38- run : python manage.py test --exclude-tag=canary
34+ run : |
35+ python -m pip install --upgrade pip
36+ python -m pip install poetry
37+ poetry install
38+ - name : Run tests
39+ run : echo "write tests!"
3940
4041 publish_coverage :
4142 runs-on : ubuntu-latest
@@ -45,10 +46,11 @@ jobs:
4546 with :
4647 python-version : 3.9
4748 - name : Install dependencies
48- run : |
49- python -m pip install --upgrade pip
50- python -m pip install poetry
51- poetry install
49+ run : |
50+ python -m pip install --upgrade pip
51+ python -m pip install poetry
52+ poetry install
53+ pip install coverage coveralls
5254 - name : Run Tests
5355 run : coverage run --include=tom_* manage.py test --exclude-tag=canary
5456 - name : Report Coverage
0 commit comments