17 lines
472 B
YAML
17 lines
472 B
YAML
---
|
|
name: Run tests
|
|
on: [push]
|
|
jobs:
|
|
test-precommit:
|
|
runs-on: docker
|
|
container:
|
|
image: docker.io/brenard/python-pre-commit:latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install python dependencies
|
|
run: python3 -m pip install --break-system-packages debian-parser requests urllib3
|
|
- name: Run pre-commit
|
|
run: pre-commit run --all-files
|