Repository navigation
Merge human-owned Pursuit map #35
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: tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: ${{ matrix.os }} / Python 3.11 | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| PYTHONUTF8: "1" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v7 | |
| - name: Set up Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.11" | |
| cache: pip | |
| - name: Install ripgrep on Linux | |
| if: runner.os == 'Linux' | |
| run: sudo apt-get update && sudo apt-get install -y ripgrep | |
| - name: Install ripgrep on Windows | |
| if: runner.os == 'Windows' | |
| run: choco install ripgrep -y --no-progress | |
| - name: Install package | |
| run: python -m pip install -e ".[codex-sdk]" | |
| - name: Compile | |
| run: python -m compileall -q rightmemory tests | |
| - name: Run tests | |
| env: | |
| TEMP: ${{ runner.temp }} | |
| TMP: ${{ runner.temp }} | |
| run: python -m tests |