Skip to content

Commit

Permalink
MRG: Merge pull request #117 from octue/fix-release-workflow
Browse files Browse the repository at this point in the history
Run tests without `tox` in release workflow
  • Loading branch information
cortadocodes authored Oct 15, 2024
2 parents 6eb85f4 + c443700 commit a7d7e8d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,23 @@ jobs:
with:
python-version: ${{ matrix.python }}

- name: Install tox
run: pip install tox
- name: Install Poetry
uses: snok/[email protected]

- name: Install package
run: poetry install -v

- name: Run tests
run: tox
run: |
poetry run coverage run --source twined -m unittest discover
poetry run coverage report --show-missing
poetry run coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: coverage.xml
fail_ci_if_error: true
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}

release:
Expand Down

0 comments on commit a7d7e8d

Please sign in to comment.