Skip to content

Commit

Permalink
Update CI to use Poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher committed Jun 26, 2024
1 parent 75ea404 commit 80cff54
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ on:
types: [published]
workflow_dispatch:


jobs:
test:

runs-on: ubuntu-latest

steps:
Expand All @@ -21,16 +19,18 @@ jobs:
uses: actions/setup-python@v5
with:
# Semantic version range syntax or exact version of a Python version
python-version: '3.x'
python-version: "3.x"
# Optional - x64 or x86 architecture, defaults to x64
architecture: 'x64'
cache: 'pip'
architecture: "x64"
cache: "pip"

# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"

- run: pip install -r requirements.txt
- run: pip install -r requirements_dev.txt
- name: Install poetry
uses: abatilo/actions-poetry@v2

- run: poetry install

- run: pytest
- run: poetry run pytest

0 comments on commit 80cff54

Please sign in to comment.