Skip to content

Commit 29889d8

Browse files
authored
Merge branch 'opsmill:main' into j2lint
2 parents adc68de + 770f586 commit 29889d8

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,13 @@ jobs:
8888
run: markdownlint "**/*.{md,mdx}"
8989

9090
integration-test:
91+
if: |
92+
always() && !cancelled() &&
93+
!contains(needs.*.result, 'failure') &&
94+
!contains(needs.*.result, 'cancelled')
9195
needs: ["python-lint", "yaml-lint", "markdown-lint"]
9296
runs-on:
9397
group: "huge-runners"
94-
strategy:
95-
fail-fast: false
96-
matrix:
97-
include:
98-
- os: ubuntu-latest
9998
timeout-minutes: 60
10099
env:
101100
INFRAHUB_DB_TYPE: neo4j
@@ -104,6 +103,8 @@ jobs:
104103
INFRAHUB_TESTING_LOG_LEVEL: INFO
105104
steps:
106105
- uses: actions/checkout@v5
106+
- name: Install tini
107+
run: "apt-get update && apt-get install -y tini"
107108
- name: Install uv
108109
uses: astral-sh/setup-uv@v7
109110
with:
@@ -114,9 +115,7 @@ jobs:
114115
RUNNER_NAME=$(echo "${{ runner.name }}" | grep -o 'ghrunner[0-9]\+' | sed 's/ghrunner\([0-9]\+\)/ghrunner_\1/')
115116
echo "PYTEST_DEBUG_TEMPROOT=/var/lib/github/${RUNNER_NAME}/_temp" >> $GITHUB_ENV
116117
- name: Run tests
117-
run: uv run pytest tests/
118-
env:
119-
REPOSITORY_TOKEN: ${{ secrets.GITHUB_TOKEN }}
118+
run: exec tini -s -g -- uv run pytest tests/
120119

121120
documentation:
122121
defaults:

.github/workflows/update-infrahub.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
5656
- name: Update testcontainers to workflow version ${{ env.INFRAHUB_VERSION }}
5757
run: |
58-
uv add infrahub-testcontainers==${INFRAHUB_VERSION}
58+
uv add --group dev infrahub-testcontainers==${INFRAHUB_VERSION}
5959
6060
- name: Prepare the branch for the update
6161
id: prepare-branch
@@ -84,4 +84,4 @@ jobs:
8484
--title "update test-containers to version ${{ env.INFRAHUB_VERSION }} against ${{ matrix.branch-name}}" \
8585
--body "This PR updates test-containers to version ${{ env.INFRAHUB_VERSION }}." \
8686
--base ${{ matrix.branch-name}} \
87-
--head ${{ env.BRANCH_NAME }}
87+
--head ${{ env.BRANCH_NAME }}

0 commit comments

Comments
 (0)