Fix undefined connectors #447
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 # Skips RL tests because stable-baselines3 comes with a lot of heavy-weight dependencies | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Pixi (installs pixi + caches envs) # https://github.com/marketplace/actions/setup-pixi | |
| uses: prefix-dev/setup-pixi@v0.9.3 # pin the action version | |
| with: | |
| pixi-version: v0.66.0 # pin the pixi binary version (optional) | |
| cache: true # enable caching of installed envs | |
| # only write new caches on main pushes (optional) | |
| 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 -v |