fix: ci
Some checks failed
/ test (push) Failing after 24s
/ codestyle (push) Failing after 49s

This commit is contained in:
s3lph 2023-12-17 20:39:06 +01:00
parent c280ca2170
commit 4b3b0f4f49
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5
2 changed files with 11 additions and 9 deletions

View file

@ -1,7 +1,9 @@
---
on:
push: tags
push:
tags:
- "v*"
jobs:

View file

@ -10,11 +10,11 @@ jobs:
- 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
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
@ -22,6 +22,6 @@ jobs:
- 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
apt update; apt install --yes python3-pip
pip3 install -e .[test]
pycodestyle tlsrpt_exporter