Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #297

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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