Test flags?

# Conflicts:
#	.github/workflows/ci.yml
This commit is contained in:
Zanie Blue 2024-04-10 12:03:28 -05:00
parent 3c159a1e23
commit a2caf22f89
1 changed files with 17 additions and 1 deletions

View File

@ -89,9 +89,25 @@ jobs:
with:
tool: cargo-nextest
- name: "Configure test flags (unix)"
if: ${{ matrix.os != 'windows' }}
run: |
TESTFLAGS=()
echo $TESTFLAGS
echo $TESTFLAGS >> $GITHUB_ENV
- name: "Configure test flags (windows)"
if: ${{ matrix.os == 'windows' }}
run: |
TESTFLAGS=("--no-default-features", "--features", "--python")
echo $TESTFLAGS
echo $TESTFLAGS >> $GITHUB_ENV
- name: "Cargo test"
run: |
cargo nextest run --workspace --status-level skip --failure-output immediate-final --no-fail-fast -j 16 --final-status-level slow
cargo nextest run \
"${TESTFLAGS[@]}" \
--workspace --status-level skip --failure-output immediate-final --no-fail-fast -j 16 --final-status-level slow
- name: "Smoke test (unix)"
if: ${{ matrix.os != 'windows' }}