Propagate source_instrument_pids to CPR validation products #442
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 against dataportal | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| timeout-minutes: 15 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Checkout fixtures | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: actris-cloudnet/dataportal | |
| sparse-checkout: backend/fixtures/ | |
| sparse-checkout-cone-mode: false | |
| path: backend-fixtures | |
| - name: Checkout production fixtures | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: actris-cloudnet/dataportal-fixtures | |
| path: dataportal-fixtures | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v4 | |
| with: | |
| driver-opts: network=host | |
| - name: Build cloudnet-processing with cache | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: ./Dockerfile | |
| target: test | |
| load: true | |
| tags: cloudnet-processing:test | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| - name: Start supporting services | |
| run: docker compose -f .github/docker-compose.yml up -d --wait dataportal-backend | |
| - name: Run tests | |
| run: docker compose -f .github/docker-compose.yml run --rm cloudnet-processing pytest -s -vv tests/integration/test.py | |
| - name: Shutdown all services | |
| if: always() | |
| run: docker compose -f .github/docker-compose.yml down -v |