Benjamin Renard
cda28c3484
All checks were successful
Run tests / test-precommit (push) Successful in 1m8s
21 lines
564 B
YAML
21 lines
564 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
|
|
env:
|
|
DEBIAN_FRONTEND: noninteractive
|
|
run: |
|
|
apt-get update
|
|
apt-get -y install --no-install-recommends python3-requests python3-xmltodict
|
|
- name: Run pre-commit
|
|
run: pre-commit run --all-files
|