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:
|
on:
|
||||||
push: tags
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue