-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (36 loc) · 1.16 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: 'Lint and test'
on:
# The nightly build allows us to notice if changes to the core
# break the wagon.
schedule:
- cron: '38 3 * * *'
push:
paths-ignore:
- 'doc/**'
- '**.md'
pull_request:
paths-ignore:
- 'doc/**'
- '**.md'
workflow_dispatch: # Allow triggering manually
inputs:
core_ref:
description: Use a specific version of the core for the workflow run. Defaults to sac-master.
type: string
default: 'sac-master'
wagon_dependency_ref:
description: Use a specific version of the wagon dependency for the workflow run. Defaults to sac-master.
type: string
default: 'sac-master'
jobs:
wagon_tests:
uses: hitobito/hitobito/.github/workflows/wagon-tests.yml@master
with:
wagon_repository: ${{ github.event.repository.name }}
wagon_dependency_repository: hitobito_youth
core_ref: ${{ inputs.core_ref || 'sac-master' }}
wagon_dependency_ref: ${{ inputs.wagon_dependency_ref || 'sac-master' }}
main_branch: sac-master
secrets:
HEARTBEAT_URL: ${{ secrets.HEARTBEAT_URL }}
HEARTBEAT_TOKEN: ${{ secrets.HEARTBEAT_TOKEN }}