Remove locked flag from testing workflow #346
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: 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/setup-pixi@v0.9.0 # 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 | |
| - name: Verify pixi and run tests | |
| run: | | |
| pixi --version | |
| pixi run -e tests tests |