check_esphome_devices/.forgejo/workflows/tests.yaml
Benjamin Renard 676f03b6a1
All checks were successful
Run tests / test-precommit (push) Successful in 1m12s
Switch from Woodpecker CI to Forgejo Actions
2024-03-13 19:16:29 +01:00

21 lines
554 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 -qq update
apt-get -qq -y install --no-install-recommends python3-requests
- name: Run pre-commit
run: pre-commit run --all-files