Skip to content

Commit

Permalink
OPS: Fix tests step in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Dec 3, 2024
1 parent 6a3fda9 commit 2ff0841
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1

- name: Install package
run: poetry install

- name: Get package version
id: get-package-version
run: echo "PACKAGE_VERSION=$(poetry version -s)" >> $GITHUB_OUTPUT

- name: Run tests
run: python -m unittest
run: poetry run python -m unittest

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand All @@ -46,8 +49,6 @@ jobs:
runs-on: ubuntu-latest
needs: tests
steps:
- uses: actions/checkout@v4

- name: Create Release
uses: actions/create-release@v1
env:
Expand Down

0 comments on commit 2ff0841

Please # to comment.