fix: ci
This commit is contained in:
parent
c280ca2170
commit
4b3b0f4f49
2 changed files with 11 additions and 9 deletions
|
@ -1,7 +1,9 @@
|
|||
---
|
||||
|
||||
on:
|
||||
push: tags
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue