-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing the new deployment pipeline (#89)
Co-authored-by: Cellan Hall <[email protected]>
- Loading branch information
1 parent
7de2c20
commit 71ec849
Showing
50 changed files
with
4,427 additions
and
4,353 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: ci | ||
|
||
on: | ||
push: | ||
tags: | ||
- '**' | ||
pull_request: {} | ||
|
||
jobs: | ||
test-python: | ||
name: test ${{ matrix.python-version }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: | ||
- '3.8' | ||
- '3.9' | ||
- '3.10' | ||
- '3.11' | ||
- '3.12' | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: install rust stable | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: cache rust | ||
uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: test-v3 | ||
|
||
- name: set up python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
# Issue with requests < 2.29.0 and docker. See: https://github.com/docker/docker-py/issues/3113 | ||
- run: pip install docker requests==2.28.2 | ||
|
||
- run: pip install -e . | ||
env: | ||
RUST_BACKTRACE: 1 | ||
|
||
- run: pip freeze | ||
|
||
- run: sh scripts/run_tests.sh | ||
|
||
- run: cargo 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
Oops, something went wrong.