RLS Version 2.5.0 #134
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: Test Jug | |
| on: [ push, pull_request ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - '3.8' | |
| - '3.9' | |
| - '3.10' | |
| - '3.11' | |
| - '3.12' | |
| - '3.13' | |
| - '3.14' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| version: "0.10.9" | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: Install dependencies and Jug | |
| run: | | |
| uv sync --all-extras --dev | |
| - name: Start Redis | |
| uses: supercharge/redis-github-action@1.8.1 | |
| with: | |
| redis-version: 7 | |
| - name: Test Jug script | |
| run: | | |
| mkdir _test | |
| cd _test | |
| TEST_REDIS=1 uv run jug test-jug | |
| cp ../jug/tests/jugfiles/run-simple-create-file.py . | |
| uv run jug execute run-simple-create-file.py | |
| test -f test-result.txt |