gamma_qph as1aem1 #273
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust unit tests | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get test data | |
id: cache-test-data | |
uses: actions/cache@v4 | |
with: | |
path: test-data | |
key: test-data-v1 | |
- name: Download test data | |
if: steps.cache-test-data.outputs.cache-hit != 'true' | |
run: | | |
cd crates/dekoder/tests/data | |
./download.sh | |
- uses: actions/setup-python@v5 | |
- name: Install task runner | |
run: pip install poethepoet | |
- name: Run fmt | |
run: | | |
poe fmtcheck | |
- name: Run clippy | |
run: | | |
poe clippy | |
- name: Run Rust unit tests | |
run: | | |
poe rtest |