Files
tpms-schrader-eg53ma4-sim/.gitea/workflows/check.yml
T
czcionka 7cb2db7051
check / check-without-hardware (push) Failing after 7m18s
CI: omin blokade GHES w upload-artifact@v4 dla instancji Gitei
2026-10-28 19:45:47 +00:00

34 lines
1.3 KiB
YAML

name: check
on:
push:
branches: [main, feat/release-v2]
pull_request:
jobs:
check-without-hardware:
runs-on: ubuntu-24.04
container: python:3.12.12-slim-bookworm
steps:
# nodejs jest potrzebne akcjom JS (checkout, upload-artifact) i musi być
# zainstalowane przed pierwszym krokiem "uses".
- name: Install build dependencies
run: |
apt-get update
apt-get install -y --no-install-recommends build-essential cmake git libusb-1.0-0-dev librtlsdr-dev pkg-config ca-certificates nodejs
- uses: actions/checkout@v4
- name: Install pinned Python tools
run: pip install --no-cache-dir --disable-pip-version-check -r tools/requirements.txt
- name: All tests without hardware
run: bash ./tools/check_all
- name: Upload validation reports
uses: actions/upload-artifact@v4
# Klient upload-artifact@v4+ odmawia pracy poza github.com (wykrywa reszte
# swiata jako GHES). Wysylka idzie przez ACTIONS_RESULTS_URL, a
# GITHUB_SERVER_URL sluzy tylko do tego testu i URL-a wyswietlanego, wiec
# host z sufiksem .localhost omija blokade bez wplywu na API.
env:
GITHUB_SERVER_URL: http://gitea.localhost
with:
name: validation-reports
path: artifacts/validation/