mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-03 19:53:40 +00:00
Run tests with both --all-features and --no-default-features
This commit is contained in:
parent
437d471b4d
commit
93b9fa2351
1 changed files with 4 additions and 3 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -4,16 +4,17 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Test on ${{ matrix.os }}
|
name: Test on ${{ matrix.os }} with ${{ matrix.features }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
|
features: [--all-features, --no-default-features]
|
||||||
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose --release --all-features
|
run: cargo test --verbose --release ${{ matrix.features }}
|
||||||
|
|
||||||
no-std:
|
no-std:
|
||||||
name: Check no-std target ${{ matrix.target }}
|
name: Check no-std target ${{ matrix.target }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue