From 9dc4df5cae33e2283892c9ec78f4885e29a4515d Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Thu, 14 Mar 2024 17:31:09 +0100 Subject: [PATCH] test 2 Signed-off-by: Benjamin Drung --- .github/workflows/ci.yaml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 18c95af..74276a4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,12 +21,17 @@ jobs: image: ${{ matrix.container }} options: --privileged steps: - - name: Install dependencies + - name: Install dependencies for Codecov run: > apt-get update && apt-get install --no-install-recommends --yes - pandoc python3 python3-coverage python3-ruamel.yaml python3-setuptools git ca-certificates curl + git - uses: actions/checkout@v4 + - name: Install dependencies + run: > + apt-get update && + apt-get install --no-install-recommends --yes + pandoc python3 python3-coverage python3-ruamel.yaml python3-setuptools ca-certificates curl - name: Run build run: python3 -m coverage run --branch setup.py build - name: Run install @@ -61,6 +66,11 @@ jobs: container: image: ${{ matrix.container }} steps: + - name: Install dependencies for Codecov + run: > + apt-get update && + apt-get install --no-install-recommends --yes + git ca-certificates - uses: actions/checkout@v4 - name: Install dependencies run: > @@ -75,12 +85,14 @@ jobs: - name: Install dependencies for Codecov run: > apt-get install --no-install-recommends --yes - ca-certificates curl git + curl - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true files: ./coverage.xml + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} system-testing: runs-on: ubuntu-latest