Skip to content

Commit

Permalink
Fix CI (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Jan 3, 2024
1 parent 1b40d88 commit 0279e88
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install poetry
run: |
pip install -U pip
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
curl -sSL "https://install.python-poetry.org" | python
echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
# Adding `poetry` to `$PATH`:
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
Expand All @@ -41,10 +41,9 @@ jobs:
poetry run pytest
poetry check
poetry run pip check
poetry run safety check --full-report
- name: Upload coverage to Codecov
if: matrix.python-version == 3.8
if: matrix.python-version == 3.12
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml

0 comments on commit 0279e88

Please sign in to comment.