Skip to content

Fix GitHub Actions workflows with Zizmor security audit #691

Fix GitHub Actions workflows with Zizmor security audit

Fix GitHub Actions workflows with Zizmor security audit #691

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Set up Python 3.13
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: "3.13"
- name: Install uv
# zizmor: ignore[impostor-commit, mismatched-version-comment]
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
- name: Install dependencies
run: uv pip install --system -e ".[test]"
- name: Run unit tests
run: >
coverage run
-m unittest discover
-s kinetic -p "*_test.py"
-v
- name: Generate coverage report
run: coverage xml
- name: Upload coverage
# zizmor: ignore[unpinned-uses, mismatched-version-comment]
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
files: coverage.xml
fail_ci_if_error: false