Configure CI to run tests
All checks were successful
Run tests / tests (push) Successful in 1m33s

This commit is contained in:
Benjamin Renard 2024-07-15 15:25:40 +02:00
parent 255430803f
commit 97f4875aee
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC

View file

@ -0,0 +1,14 @@
---
name: Run tests
on: [push]
jobs:
tests:
runs-on: docker
container:
image: docker.io/brenard/python-pre-commit:latest
options: "--workdir /src"
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run pre-commit
run: pre-commit run --all-files