From 80cff54279591b05e4c755e3373e856e0691bccb Mon Sep 17 00:00:00 2001 From: Ian Date: Wed, 26 Jun 2024 16:14:17 -0400 Subject: [PATCH] Update CI to use Poetry --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 271c3d3..a4e983d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,10 +8,8 @@ on: types: [published] workflow_dispatch: - jobs: test: - runs-on: ubuntu-latest steps: @@ -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 \ No newline at end of file + - run: poetry run pytest