Skip to content

Commit

Permalink
OPS: Run tests without tox in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Oct 15, 2024
1 parent 6eb85f4 commit c443700
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 c443700

Please sign in to comment.