-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPS: Run tests without
tox
in release workflow
- Loading branch information
1 parent
6eb85f4
commit c443700
Showing
1 changed file
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|