Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
#{ id: 'linux-aarch64', os: ['self-hosted', 'aarch64'], rust-target: 'aarch64-unknown-linux-gnu', rust-toolchain: 'stable' },
]
# The job runs on different Python versions.
python: [3.5, 3.6, 3.7, 3.8, 3.9]
python: [3.5, 3.6, 3.7, 3.8, 3.9, pypy3]
# As soon as one job fails in the matrix, all the other
# in-progress jobs are canceled.
fail-fast: false
Expand All @@ -46,19 +46,19 @@ jobs:
uses: actions/cache@v1
with:
path: ~/.cargo/registry
key: ${{ matrix.target.rust-target }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
key: ${{ matrix.target.id }}-${{ matrix.python }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}

- name: Cache Cargo bin
uses: actions/cache@v1
with:
path: ~/.cargo/bin
key: ${{ matrix.target.rust-target }}-cargo-bin-${{ hashFiles('**/Cargo.lock') }}
key: ${{ matrix.target.id }}-${{ matrix.python }}-cargo-bin-${{ hashFiles('**/Cargo.lock') }}

- name: Cache Cargo build
uses: actions/cache@v1
with:
path: target
key: ${{ matrix.target.rust-target }}-${{ matrix.python }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
key: ${{ matrix.target.id }}-${{ matrix.python }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}

- name: Set up Python ${{ matrix.python }}
if: matrix.target.id != 'linux-aarch64'
Expand All @@ -77,7 +77,7 @@ jobs:
uses: actions/cache@v1
with:
path: ~/.pyenv/versions/
key: ${{ matrix.target.rust-target }}-pyenv-version-${{ matrix.python }}
key: ${{ matrix.target.id }}-${{ matrix.python }}-pyenv-version

- name: Set up Python ${{ matrix.python }}
if: matrix.target.id == 'linux-aarch64'
Expand Down
40 changes: 20 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.