fix: ci
Some checks failed
/ build_wheel (push) Failing after 51s
/ build_debian (push) Failing after 16s
/ test (push) Successful in 1m11s
/ codestyle (push) Successful in 51s

This commit is contained in:
s3lph 2023-12-19 00:52:59 +01:00
parent 6503465715
commit e9dc8feb54
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -16,8 +16,7 @@ jobs:
apt update; apt install -y python3-pip apt update; apt install -y python3-pip
pip3 install --break-system-packages -e .[test] pip3 install --break-system-packages -e .[test]
python3 setup.py egg_info bdist_wheel python3 setup.py egg_info bdist_wheel
- name: Upload Python wheel - uses: https://git.kabelsalat.ch/s3lph/forgejo-action-wheel-package-upload@v1
uses: https://git.kabelsalat.ch/s3lph/forgejo-action-wheel-package-upload@v1
build_debian: build_debian:
runs-on: docker runs-on: docker
@ -27,14 +26,12 @@ jobs:
run: | run: |
mkdir -p package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter mkdir -p package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter
cp -r templates/ package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter/templates/ cp -r templates/ package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter/templates/
- name: Build Debian package - uses: https://git.kabelsalat.ch/s3lph/forgejo-action-python-debian-package@v1
uses: https://git.kabelsalat.ch/s3lph/forgejo-action-python-debian-package@v1
with: with:
python_module: tlsrpt_exporter python_module: tlsrpt_exporter
package_name: prometheus-tlsrpt-exporter package_name: prometheus-tlsrpt-exporter
package_root: package/debian/prometheus-tlsrpt-exporter package_root: package/debian/prometheus-tlsrpt-exporter
package_output_path: package/debian package_output_path: package/debian
- name: Upload Debian package - uses: https://git.kabelsalat.ch/s3lph/forgejo-action-python-debian-package@v1
uses: https://git.kabelsalat.ch/s3lph/forgejo-action-python-debian-package@v1
with: with:
deb: "package/debian/*.deb" deb: "package/debian/*.deb"