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: on:
push: tags push:
tags:
- "v*"
jobs: jobs:

View file

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