prometheus-tlsrpt-exporter/.forgejo/workflows/test.yml
s3lph c280ca2170
Some checks failed
/ build_wheel (push) Has been cancelled
/ build_debian (push) Has been cancelled
/ test (push) Failing after 9s
/ codestyle (push) Failing after 9s
feat: migrate from woodpecker to forgejo actions
2023-12-17 20:28:43 +01:00

27 lines
707 B
YAML

---
on: push
jobs:
test:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- name: test
run: |
- apt update; apt install --yes python3-pip
- pip3 install -e .[test]
- python3 -m coverage run --rcfile=setup.cfg -m unittest discover tlsrpt_exporter
- python3 -m coverage combine
- python3 -m coverage report --rcfile=setup.cfg
codestyle:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- name: codestyle
run: |
- apt update; apt install --yes python3-pip
- pip3 install -e .[test]
- pycodestyle tlsrpt_exporter