Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
docs:
name: Docs
runs-on: ubuntu-latest
needs: package
steps:
- name: Checkout repository
uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-ci-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linter and tests (PRs)
name: "Build · Lint · Tests"

on:
workflow_call:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prs-entrypoint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PR CI
name: "PR CI"

permissions:
actions: read
Expand All @@ -18,7 +18,7 @@ on:

jobs:
pr_jobs:
name: PR CI
name: "Trigger"
# github.event.pull_request object defined here: https://docs.github.com/en/rest/pulls/pulls?apiVersion=2026-03-10#get-a-pull-request
if: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'gitlabform/gitlabform') || (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != 'gitlabform/gitlabform') }}
uses: ./.github/workflows/pr-ci-workflow.yml
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tests-acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
- name: Run Standard acceptance tests for ${{ matrix.flavor }} flavor
run: uv run --no-sync qa test tests/acceptance/standard --cov=. --cov-report=xml --durations=0 --reruns 3 --reruns-delay 10 --log-cli-level=WARNING
- name: Upload coverage
if: ${{ secrets.CODECOV_TOKEN != '' }}
uses: Wandalen/wretry.action@v3
with:
action: codecov/codecov-action@v3
Expand All @@ -57,7 +58,6 @@ jobs:

acceptance-licensed:
name: "GitLab ${{ matrix.tier == 'premium' && 'Premium' || 'Ultimate' }}"
needs: [acceptance-standard]
environment: ${{ inputs.environment }}
runs-on: ubuntu-latest
strategy:
Expand All @@ -76,11 +76,12 @@ jobs:
run: uv sync --frozen --no-dev --group test
- name: Start GitLab (${{ matrix.tier }}) in docker
env:
GITLAB_EE_LICENSE: ${{ matrix.tier == 'premium' && secrets.GITLAB_EE_LICENSE || secrets.GITLAB_EE_ULTIMATE_LICENSE }}
GITLAB_EE_LICENSE: "${{ matrix.tier == 'premium' && secrets.GITLAB_EE_LICENSE || secrets.GITLAB_EE_ULTIMATE_LICENSE }}"
run: uv run --no-sync gitlab-local up
- name: Run acceptance Tests for ${{ matrix.tier }} features
run: uv run --no-sync qa test tests/acceptance/${{ matrix.tier }} --cov=. --cov-report=xml --durations=0 --reruns 3 --reruns-delay 10 --log-cli-level=WARNING
- name: Upload coverage
if: ${{ secrets.CODECOV_TOKEN != '' }}
uses: Wandalen/wretry.action@v3
with:
action: codecov/codecov-action@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
- name: Run unit tests
run: uv run --no-sync qa test tests/unit --cov=. --cov-report=xml --log-cli-level=WARNING
- name: Upload coverage to Codecov
if: ${{ secrets.CODECOV_TOKEN != '' }}
uses: Wandalen/wretry.action@v3
with:
action: codecov/codecov-action@v3
Expand Down
Loading