Incorporate palace binary downloader #186
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: Cloud Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| # Small smoke check: one MEEP and one Palace simulation. | |
| # Fork PRs are skipped because Actions does not expose GFP_API_KEY to them. | |
| sim_smoke_test: | |
| if: >- | |
| github.event_name == 'push' || (github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == github.repository) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v6 | |
| - name: Install system dependencies | |
| run: sudo apt-get update && sudo apt-get install -y libglu1-mesa libegl1 libgl1 libxrender1 libxcursor1 libxft2 libxinerama1 | |
| - name: Install UV | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Create environment | |
| run: uv sync --dev --all-extras | |
| - name: Run sim smoke tests | |
| run: uv run pytest -m sim_smoke_test | |
| env: | |
| GFP_API_KEY: ${{ secrets.GFP_API_KEY }} |