From 989e0a554230c5825df6c120cdaccd8c67456629 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sun, 4 Feb 2024 01:04:01 +0200 Subject: [PATCH] Update CI config --- .github/workflows/lint.yml | 8 ++++++++ .github/workflows/test.yml | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 095038af..dae63b03 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,6 +2,12 @@ name: Lint on: [push, pull_request, workflow_dispatch] +env: + FORCE_COLOR: 1 + +permissions: + contents: read + jobs: lint: runs-on: ubuntu-latest @@ -9,4 +15,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + with: + python-version: "3.x" - uses: pre-commit/action@v3.0.0 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 28e22b5e..4808859b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,13 +38,14 @@ jobs: coverage xml - name: Upload coverage - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v3.1.5 with: name: Python ${{ matrix.python-version }} success: needs: test runs-on: ubuntu-latest + name: Test successful steps: - name: Success run: echo Test successful