Skip to content

harden(zizmor): add GH_TOKEN env to fix impostor-check rate-limits (#3) #11

harden(zizmor): add GH_TOKEN env to fix impostor-check rate-limits (#3)

harden(zizmor): add GH_TOKEN env to fix impostor-check rate-limits (#3) #11

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: pytest (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install package and dev deps
run: |
python -m pip install --upgrade pip
pip install -e '.[dev]'
- name: Run tests with coverage
run: |
pytest --cov=lumos --cov-report=term --cov-report=xml
- name: Upload coverage artifact
if: matrix.python-version == '3.11'
uses: actions/upload-artifact@v4
with:
name: coverage-xml
path: coverage.xml
if-no-files-found: ignore