Skip to content

Commit

Permalink
make poetry the only dependency for GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Blank committed Oct 25, 2023
1 parent a0e96ac commit 3243095
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Test

on:
workflow_dispatch: ~
Expand Down Expand Up @@ -41,14 +41,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
- name: Install poetry
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov vcrpy
- name: Install the module
run: python -m pip install .
pip install poetry
- name: Run tests with coverage
run: pytest --cov
run: poetry run pytest --cov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 3243095

Please sign in to comment.