-
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.
- Loading branch information
Showing
3 changed files
with
65 additions
and
11 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,32 @@ | ||
name: test-py3.10 | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
- name: Run pre-commit | ||
uses: pre-commit/[email protected] | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v2 | ||
- name: Setup Pixi | ||
uses: prefix-dev/[email protected] | ||
- name: install py3.10 | ||
run: pixi add python=3.10 | ||
- name: Run Tests 3.10 | ||
run: pixi run test |
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,32 @@ | ||
name: test-py3.9 | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
- name: Run pre-commit | ||
uses: pre-commit/[email protected] | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v2 | ||
- name: Setup Pixi | ||
uses: prefix-dev/[email protected] | ||
- name: install py3.9 | ||
run: pixi add python=3.9 | ||
- name: Run Tests 3.9 | ||
run: pixi run test |
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,17 +26,7 @@ jobs: | |
uses: actions/checkout@v2 | ||
- name: Setup Pixi | ||
uses: prefix-dev/[email protected] | ||
- name: install py3.9 | ||
run: pixi add python=3.9 | ||
- name: Run Tests 3.9 | ||
run: pixi run test | ||
- name: install py3.10 | ||
run: pixi add python=3.10 | ||
- name: Run Tests 3.10 | ||
run: pixi run test | ||
- name: install py3.11 | ||
run: pixi add python=3.11 | ||
- name: Run Tests 3.11 | ||
- name: Run Tests | ||
run: pixi run test | ||
- name: Publish Code Coverage | ||
uses: codecov/codecov-action@v3 | ||
|