Skip to content

Fix usage of env varaible in github actions #114

Fix usage of env varaible in github actions

Fix usage of env varaible in github actions #114

Workflow file for this run

name: Lint and Test
on: [push, pull_request]
permissions:
contents: read
env:
UV_VERSION: "0.5.1"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: $UV_VERSION
- name: Lint
run: make lint
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: $UV_VERSION
- name: Run tests
run: make test
- name: Run tests on different dependency versions
run: python3 -m pip install nox && make test-dep-versions