-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dependency upgrades & minor CI renovation (#318)
* Adjust lower bounds for deps supplied by us * Upgrade lint tools * Move test deps to pyproject.toml; use uv in CI * Fix Codecov reporting
- Loading branch information
Showing
6 changed files
with
27 additions
and
25 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 |
---|---|---|
|
@@ -26,25 +26,26 @@ jobs: | |
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "${{ matrix.python-version }}" | ||
cache: "pip" | ||
cache-dependency-path: "**/requirements*txt" | ||
- run: pip install -U pip setuptools wheel | ||
- run: "pip install -e . -r requirements-test.txt" | ||
- uses: astral-sh/setup-uv@v3 | ||
with: | ||
enable-cache: true | ||
cache-dependency-glob: "**/pyproject.toml" | ||
- run: uv pip install --system -e .[test] | ||
- run: make test | ||
env: | ||
EMAIL: [email protected] | ||
GIT_AUTHOR_NAME: Foo Bar | ||
GIT_COMMITTER_NAME: Foo Bar | ||
- uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
Lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
cache: "pip" | ||
cache-dependency-path: pyproject.toml | ||
- uses: pre-commit/[email protected] | ||
Build: | ||
runs-on: ubuntu-20.04 | ||
|
@@ -53,10 +54,8 @@ jobs: | |
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
cache: "pip" | ||
cache-dependency-path: "**/requirements*txt" | ||
- run: pip install build | ||
- run: python -m build | ||
- uses: astral-sh/setup-uv@v3 | ||
- run: uv build --wheel | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
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
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
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
This file was deleted.
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