Avoid double-compilation of our packages in CI (#2388)

This commit is contained in:
marc0246 2023-10-31 10:44:20 +01:00 committed by GitHub
parent 1e9128795f
commit 0978b296a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ jobs:
# run: pip install ninja # run: pip install ninja
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Build tests - name: Build tests
run: cargo build --verbose run: cargo build --tests --verbose
- name: Run tests - name: Run tests
run: cargo test --verbose run: cargo test --verbose
- name: Build examples - name: Build examples
@ -32,7 +32,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Build tests - name: Build tests
run: cargo build --verbose run: cargo build --tests --verbose
- name: Run tests - name: Run tests
run: cargo test --verbose run: cargo test --verbose
- name: Build examples - name: Build examples
@ -44,7 +44,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Build tests - name: Build tests
run: cargo build --verbose run: cargo build --tests --verbose
- name: Run tests - name: Run tests
run: cargo test --verbose run: cargo test --verbose
- name: Build examples - name: Build examples