summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 00:31:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 00:31:49 +0000
commitbab439d459ac088a59193f8d63d44a62be2c5a04 (patch)
treea6f51bc18a0e6688625cffd7d0c71c0b49cdbf0f /.github
parentReleasing progress-linux version 4.1.11-1~progress7.99u1. (diff)
downloadpython-ansible-compat-bab439d459ac088a59193f8d63d44a62be2c5a04.tar.xz
python-ansible-compat-bab439d459ac088a59193f8d63d44a62be2c5a04.zip
Merging upstream version 4.1.12.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ack.yml3
-rw-r--r--.github/workflows/tox.yml13
2 files changed, 11 insertions, 5 deletions
diff --git a/.github/workflows/ack.yml b/.github/workflows/ack.yml
index bdf02b5..1a73a9d 100644
--- a/.github/workflows/ack.yml
+++ b/.github/workflows/ack.yml
@@ -6,4 +6,5 @@ on:
jobs:
ack:
- uses: ansible/devtools/.github/workflows/ack.yml@main
+ uses: ansible/team-devtools/.github/workflows/ack.yml@main
+ secrets: inherit
diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml
index f56f266..c767c48 100644
--- a/.github/workflows/tox.yml
+++ b/.github/workflows/tox.yml
@@ -42,6 +42,7 @@ jobs:
macos: minmax
build:
name: ${{ matrix.name }}
+ environment: test
runs-on: ${{ matrix.os || 'ubuntu-22.04' }}
needs: pre
strategy:
@@ -62,13 +63,13 @@ jobs:
python-version: ${{ matrix.python_version }}
- name: Pre-commit cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: ${{ matrix.name }}-pre-commit-${{ hashFiles('setup.cfg', 'tox.ini', 'pyproject.toml', '.pre-commit-config.yaml') }}
- name: Pip cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ matrix.name }}-pip-${{ hashFiles('setup.cfg', 'tox.ini', 'pyproject.toml', '.pre-commit-config.yaml') }}
@@ -90,11 +91,11 @@ jobs:
- name: Upload coverage data
if: ${{ startsWith(matrix.passed_name, 'py') }}
- uses: codecov/codecov-action@v3
+ uses: codecov/codecov-action@v4
with:
name: ${{ matrix.passed_name }}
- fail_ci_if_error: false # see https://github.com/codecov/codecov-action/issues/598
token: ${{ secrets.CODECOV_TOKEN }}
+ fail_ci_if_error: true # see https://github.com/codecov/codecov-action/issues/598
verbose: true # optional (default = false)
check: # This job does nothing and is only used for the branch protection
@@ -104,6 +105,10 @@ jobs:
- build
runs-on: ubuntu-22.04
steps:
+ - name: Check codecov.io status
+ if: github.event_name == 'pull_request'
+ uses: coactions/codecov-status@main
+
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with: