Skip to content

Get weekly release working #158

Get weekly release working

Get weekly release working #158

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
workflow_call:
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 == 'workflow_call' ||
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
permissions:
statuses: write
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
ref: ${{ inputs.pr_ref || github.sha }}
- name: Set up Go
uses: actions/setup-go@v7
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/
- name: Report fork PR status
if: always() && inputs.pr_ref != ''
uses: ./.github/actions/report-fork-status
with:
pr_ref: ${{ inputs.pr_ref }}
name: DAV Integration Tests