|
6 | 6 | strategy: |
7 | 7 | fail-fast: false |
8 | 8 | matrix: |
9 | | - python-version: ['3.9'] |
| 9 | + python-version: ['3.9', '3.10', '3.11'] |
10 | 10 | poetry-version: ['1.4.2'] |
11 | 11 | os: [ubuntu-latest] |
12 | 12 | runs-on: ${{ matrix.os }} |
13 | 13 | steps: |
14 | 14 | - uses: actions/checkout@v3 |
15 | | - - uses: actions/setup-python@v3 |
| 15 | + - uses: actions/setup-python@v4 |
16 | 16 | with: |
17 | 17 | python-version: ${{ matrix.python-version }} |
18 | 18 | - name: Run image |
19 | | - uses: abatilo/actions-poetry@v2.1.4 |
| 19 | + uses: abatilo/actions-poetry@v2 |
20 | 20 | with: |
21 | 21 | poetry-version: ${{ matrix.poetry-version }} |
22 | 22 | - name: Install dependencies |
23 | 23 | run: poetry install |
24 | 24 | - name: Run tests |
25 | 25 | run: poetry run pytest --cov=./ --cov-report=xml |
26 | 26 | - name: Upload coverage to Codecov |
27 | | - uses: codecov/codecov-action@v2 |
| 27 | + uses: codecov/codecov-action@v3 |
28 | 28 | code-quality: |
29 | 29 | strategy: |
30 | 30 | fail-fast: false |
31 | 31 | matrix: |
32 | | - python-version: ['3.9'] |
| 32 | + python-version: ['3.9', '3.10', '3.11'] |
33 | 33 | poetry-version: ['1.4.2'] |
34 | 34 | os: [ubuntu-latest] |
35 | 35 | runs-on: ${{ matrix.os }} |
|
39 | 39 | with: |
40 | 40 | python-version: ${{ matrix.python-version }} |
41 | 41 | - name: Run image |
42 | | - uses: abatilo/actions-poetry@v2.1.4 |
| 42 | + uses: abatilo/actions-poetry@v2 |
43 | 43 | with: |
44 | 44 | poetry-version: ${{ matrix.poetry-version }} |
45 | 45 | - name: Install dependencies |
|
57 | 57 | - name: Run safety |
58 | 58 | run: poetry run safety check |
59 | 59 | - name: Check for acceptable licenses |
60 | | - run: poetry run pip-licenses --allow-only="MIT License;BSD License;Python Software Foundation License;Apache Software License;Mozilla Public License 2.0 (MPL 2.0);GNU Library or Lesser General Public License (LGPL)" |
| 60 | + run: poetry run pip-licenses --allow-only="MIT License;BSD License;Python Software Foundation License;Apache Software License;Mozilla Public License 2.0 (MPL 2.0)" |
0 commit comments