-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: bump setuptools + drop tox (#6)
- Loading branch information
Showing
6 changed files
with
31 additions
and
133 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 |
---|---|---|
|
@@ -33,7 +33,7 @@ jobs: | |
installer-parallel: true | ||
- name: Run lint | ||
run: | | ||
poetry install | ||
make install | ||
make lint | ||
test: | ||
runs-on: ubuntu-latest | ||
|
@@ -56,8 +56,9 @@ jobs: | |
installer-parallel: true | ||
- name: Run test | ||
run: | | ||
poetry install | ||
poetry run pytest | ||
make install | ||
make test | ||
test-coverage-report: | ||
runs-on: ubuntu-latest | ||
name: Generate a test-coverage report | ||
|
@@ -66,8 +67,6 @@ jobs: | |
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.11" | ||
- name: Set up PDM | ||
uses: pdm-project/setup-pdm@v3 | ||
- name: Install Poetry Action | ||
uses: snok/[email protected] | ||
with: | ||
|
@@ -76,7 +75,7 @@ jobs: | |
installer-parallel: true | ||
- name: Run tests and collect coverage | ||
run: | | ||
poetry install | ||
poetry run pytest --cov=src --cov-report=xml | ||
make install | ||
make test-cov | ||
- name: Upload coverage reports to Codecov with GitHub Action | ||
uses: codecov/codecov-action@v3 |
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 |
---|---|---|
@@ -1,3 +1 @@ | ||
3.11 | ||
3.10 | ||
3.9 |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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