Skip to content

chore(deps): update determinatesystems/magic-nix-cache-action action … #518

chore(deps): update determinatesystems/magic-nix-cache-action action …

chore(deps): update determinatesystems/magic-nix-cache-action action … #518

Workflow file for this run

name: ci
on:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v10
- uses: DeterminateSystems/magic-nix-cache-action@v7
- run: nix develop --impure --command pre-commit run --all
- run: nix develop --impure --command pylama packetnetworking setup.py
pytests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "${{matrix.python-version}}"
- run: pip install tox
- name: Test on Python ${{matrix.python-version}}
run: |
pyversion=py${{matrix.python-version}}
pyversion=${pyversion//./}
tox -e "$pyversion"