Skip to content

Fix fork-integration-status-reporter workflow #112

Fix fork-integration-status-reporter workflow

Fix fork-integration-status-reporter workflow #112

name: DAV Integration Tests
on:
workflow_dispatch:
inputs:
pr_ref:
description: 'SHA of the PR head commit (for fork PRs)'
required: false
default: ''
pull_request:
push:
branches:
- main
concurrency:
group: dav-integration
cancel-in-progress: false
jobs:
dav-integration:
name: DAV Integration Tests
runs-on: ubuntu-latest
if: |
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
ref: ${{ inputs.pr_ref || github.sha }}
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Install Ginkgo
run: go install github.com/onsi/ginkgo/v2/ginkgo@latest
- name: Run DAV Integration Tests
run: ginkgo -r dav/integration/