Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests on CI with cargo-nextest #1004

Merged
merged 1 commit into from
Jul 13, 2022
Merged

Run tests on CI with cargo-nextest #1004

merged 1 commit into from
Jul 13, 2022

Conversation

messense
Copy link
Member

@messense messense commented Jul 13, 2022

Skipped test-alpine because of lacking cargo-nextest musl binary release.

test-alpine:
name: Test Alpine Linux
runs-on: ubuntu-latest
container: alpine:edge
steps:
- uses: actions/checkout@v3
- name: Install build requirements
run: |
set -ex
apk add cargo python3-dev libffi-dev py3-pip
pip3 install cffi virtualenv
- name: Cache cargo build
uses: Swatinem/rust-cache@v1
with:
key: maturin-${{ runner.os }}-alpine
- name: Cache test crates cargo build
uses: actions/cache@v2
with:
path: test-crates/targets
key: test-crates-${{ runner.os }}-alpine-${{ hashFiles('test-crates/*/Cargo.lock') }}
- name: cargo test
run: |
# unset GITHUB_ACTIONS env var to disable zig related tests
env -u GITHUB_ACTIONS cargo test

@netlify
Copy link

netlify bot commented Jul 13, 2022

Deploy Preview for maturin-guide canceled.

Name Link
🔨 Latest commit 1201659
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/62ce999b21792a0008b3cdb2

@messense messense marked this pull request as ready for review July 13, 2022 10:16
@messense messense enabled auto-merge July 13, 2022 10:17
@messense messense merged commit fbed43f into PyO3:main Jul 13, 2022
@messense messense deleted the nextest branch July 13, 2022 10:27
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Aug 8, 2022
https://build.opensuse.org/request/show/991319
by user mia + dimstar_suse
- Update to v0.13.1
  * Add 64-bit RISC-V support
    gh#PyO3/maturin#1001
  * Run tests on CI with cargo-nextest
    gh#PyO3/maturin#1004
  * Add support for invoking with python3 -m maturin
    gh#PyO3/maturin#1008
  * Consider pyproject.toml features when detecting pyo3
    gh#PyO3/maturin#1014
  * Respect user specified Rust target in maturin develop
    gh#PyO3/maturin#1016
  * Use cargo rustc --crate-type cdylib on Rust nightly/dev channel
    gh#PyO3/maturin#1020
  * Use cargo-nextest in test-alpine
    gh#PyO3/maturin#1021
-  Update to v0.13.0
  * Drop python 3.6 by @konstin in #945
  * Add support for building with multiple binary targets by
    @messense in #948
  * Add a --target option to maturin list-python command by
    @messense in #957
  * Add support for using bundled pyth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant