-
Notifications
You must be signed in to change notification settings - Fork 968
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci/cd jobs to test new uv based setup
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: "ci" | ||
|
||
on: | ||
- push | ||
|
||
jobs: | ||
test: | ||
# The type of runner that the job will run on | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
MPLBACKEND: Agg # https://github.com/orgs/community/discussions/26434 | ||
|
||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest, windows-latest, macos-latest ] | ||
python-version: [ '3.10', '3.11', '3.12', '3.13' ] | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cvxgrp/.github/actions/uv/test@main | ||
with: | ||
python-version: ${{ matrix.python-version }} |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: pre-commit | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
#pre-commit: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: pre-commit/action@v3.0.1 | ||
# with: | ||
# extra_args: '--verbose --all-files' | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cvxgrp/.github/actions/uv/coverage@main | ||
with: | ||
source-folder: 'pypfopt' | ||
|
||
|
||
|
||
deptry: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cvxgrp/.github/actions/uv/deptry@main | ||
with: | ||
source-folder: 'pypfopt' |