Glowing led decks in sim. #338
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: Testing | |
| on: [push, pull_request] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install submodules | |
| run: | | |
| git submodule update --init --recursive | |
| - name: Setup Pixi (installs pixi + caches envs) # https://github.com/marketplace/actions/setup-pixi | |
| uses: prefix-dev/[email protected] # pin the action version | |
| with: | |
| pixi-version: v0.53.0 # pin the pixi binary version (optional) | |
| cache: true # enable caching of installed envs | |
| # only write new caches on main pushes (TODO: Enable) | |
| # cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }} | |
| # ensure the 'tests' environment(s) are installed | |
| environments: tests | |
| # don't activate env (we'll call pixi run -e test explicitly) | |
| activate-environment: false | |
| # prefer using existing lockfile if present (faster, deterministic) | |
| locked: true | |
| - name: Verify pixi and run tests | |
| run: | | |
| pixi --version | |
| pixi run -e tests tests |