Add symmetry tests for downloaded ingested datasets #3
Workflow file for this run
This file contains hidden or 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: Test Download-Ingested Symmetry | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| symmetry-download: | |
| name: Download-ingested symmetry tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| # ── Checkout ──────────────────────────────────────────────────────── | |
| - name: Check out NDI-python | |
| uses: actions/checkout@v4 | |
| # ── Runtime setup ─────────────────────────────────────────────────── | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install NDI-python | |
| run: | | |
| python -m pip install --upgrade pip | |
| python ndi_install.py --dev --no-validate --verbose | |
| # ── Download dataset with curl ────────────────────────────────────── | |
| - name: Download test dataset | |
| run: | | |
| curl -L -o /tmp/69a8705aa9ab25373cdc6563.tgz \ | |
| https://github.com/Waltham-Data-Science/file-passing/raw/refs/heads/main/69a8705aa9ab25373cdc6563.tgz | |
| # ── Run symmetry tests ────────────────────────────────────────────── | |
| - name: "Python makeArtifacts (downloadIngested)" | |
| run: | | |
| echo "=== Running Python makeArtifacts ===" | |
| pytest tests/symmetry/make_artifacts/dataset/test_download_ingested.py -v --tb=short | |
| - name: "Python readArtifacts (downloadIngested)" | |
| run: | | |
| echo "=== Running Python readArtifacts (reads pythonArtifacts) ===" | |
| pytest tests/symmetry/read_artifacts/dataset/test_download_ingested.py -v --tb=short |