@@ -33,57 +33,57 @@ jobs:
33
33
ignore-test-outcome : false
34
34
35
35
steps :
36
- - uses : actions/checkout@v3
36
+ - uses : actions/checkout@v3
37
37
38
- - name : Set up Python ${{ matrix.python-version }}
39
- uses : actions/setup-python@v4
40
- id : setup-python
41
- with :
42
- python-version : ${{ matrix.python-version }}
38
+ - name : Set up Python ${{ matrix.python-version }}
39
+ uses : actions/setup-python@v4
40
+ id : setup-python
41
+ with :
42
+ python-version : ${{ matrix.python-version }}
43
43
44
- - name : Install poetry
45
- run : |
46
- python -m pip install poetry==1.8.3
44
+ - name : Install poetry
45
+ run : |
46
+ python -m pip install poetry==1.8.3
47
47
48
- - name : Configure poetry
49
- run : |
50
- python -m poetry config virtualenvs.in-project true
48
+ - name : Configure poetry
49
+ run : |
50
+ python -m poetry config virtualenvs.in-project true
51
51
52
- - name : Cache the virtualenv
53
- id : poetry-dependencies-cache
54
- uses : actions/cache@v3
55
- with :
56
- path : ./.venv
57
- key : ${{ runner.os }}-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
52
+ - name : Cache the virtualenv
53
+ id : poetry-dependencies-cache
54
+ uses : actions/cache@v3
55
+ with :
56
+ path : ./.venv
57
+ key : ${{ runner.os }}-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
58
58
59
- - name : Install dev dependencies
60
- if : steps.poetry-dependencies-cache.outputs.cache-hit != 'true'
61
- run : |
62
- python -m poetry install --only=dev
59
+ - name : Install dev dependencies
60
+ if : steps.poetry-dependencies-cache.outputs.cache-hit != 'true'
61
+ run : |
62
+ python -m poetry install --only=dev
63
63
64
- - name : Type checking
65
- # Ignore errors for older pythons
66
- continue-on-error : ${{ matrix.ignore-typecheck-outcome }}
67
- run : |
68
- source .venv/bin/activate
69
- tox -e mypy
64
+ - name : Type checking
65
+ # Ignore errors for older pythons
66
+ continue-on-error : ${{ matrix.ignore-typecheck-outcome }}
67
+ run : |
68
+ source .venv/bin/activate
69
+ tox -e mypy
70
70
71
- - name : Test with tox
72
- continue-on-error : ${{ matrix.ignore-test-outcome }}
73
- run : |
74
- source .venv/bin/activate
75
- coverage erase
76
- tox run-parallel -f ${{ matrix.toxfactor }} --parallel-no-spinner --parallel-live
77
- coverage combine
78
- coverage xml
71
+ - name : Test with tox
72
+ continue-on-error : ${{ matrix.ignore-test-outcome }}
73
+ run : |
74
+ source .venv/bin/activate
75
+ coverage erase
76
+ tox run-parallel -f ${{ matrix.toxfactor }} --parallel-no-spinner --parallel-live
77
+ coverage combine
78
+ coverage xml
79
79
80
- - uses : codecov/codecov-action@v4
81
- with :
82
- # Explicitly using the token to avoid Codecov rate limit errors
83
- # See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
84
- token : ${{ secrets.CODECOV_TOKEN }}
85
- fail_ci_if_error : false
86
- verbose : true # optional (default = false)
80
+ - uses : codecov/codecov-action@v4
81
+ with :
82
+ # Explicitly using the token to avoid Codecov rate limit errors
83
+ # See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
84
+ token : ${{ secrets.CODECOV_TOKEN }}
85
+ fail_ci_if_error : false
86
+ verbose : true # optional (default = false)
87
87
88
88
pypi-publish :
89
89
name : Upload release to PyPI
0 commit comments