Skip to content

Commit c7ddfff

Browse files
committed
fix issues with gh actions test workflow
1 parent bb37a80 commit c7ddfff

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
os: [ubuntu-latest]
18-
python: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
18+
python: ["3.10", "3.11", "3.12"]
1919

2020
steps:
2121
- name: Checkout code
@@ -24,18 +24,22 @@ jobs:
2424
- uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ matrix.python }}
27+
cache: pip
2728

2829
- name: Install project & dependencies
2930
run: pip install .[dev]
3031

3132
- name: Run unit and short integration tests
3233
run: |
33-
coverage run --source=fprettify run_tests.py -s unittests -s builtin -s regular
34+
coverage run -p --source=fprettify run_tests.py -s unittests -s builtin -s regular
3435
3536
- name: Run long integration tests
3637
if: ${{ github.event_name == 'schedule' }}
3738
run: |
38-
coverage run --source=fprettify run_tests.py -s cron
39+
coverage run -p --source=fprettify run_tests.py -s cron
40+
41+
- name: Combine coverage files
42+
run: coverage combine
3943

4044
- name: Coverage upload
4145
run: coveralls --service=github

0 commit comments

Comments
 (0)