testing the new deployment pipeline #10
Workflow file for this run
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
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 | |