python-mylib/.forgejo/workflows/tests.yaml
Benjamin Renard b45819428d
All checks were successful
Run tests / tests (push) Successful in 3m44s
Switch from Woodpecker CI to Forgejo Actions
2024-03-15 10:46:33 +01:00

30 lines
742 B
YAML

---
name: Run tests
on: [push]
jobs:
tests:
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 dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: |
apt-get -qq update
apt-get -qq -y install --no-install-recommends \
build-essential \
python3 \
python3-dev \
libldap2-dev \
libsasl2-dev \
pkg-config \
libsystemd-dev \
libpq-dev \
libmariadb-dev
- name: Run tests.sh
run: ./tests.sh