fix(frontend): show progress screen immediately on file upload #3
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: Sandbox CI | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "sandbox/**" | |
| - "skills/geo-conversions/**" | |
| pull_request: | |
| paths: | |
| - "sandbox/**" | |
| - "skills/geo-conversions/**" | |
| jobs: | |
| backend: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: sandbox/ingestion | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install system deps | |
| run: sudo apt-get update && sudo apt-get install -y libmagic1 | |
| - name: Install cng-toolkit | |
| run: pip install -e "../../skills/geo-conversions[all]" | |
| - name: Install ingestion deps | |
| run: pip install -e ".[dev]" | |
| - name: Run tests | |
| run: python -m pytest tests/ -v | |
| frontend: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: sandbox/frontend | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Install deps | |
| run: npm ci | |
| - name: Type check | |
| run: npx tsc --noEmit | |
| - name: Run tests | |
| run: npx vitest run |