forked from hitobito/hitobito_pbs
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (35 loc) · 1.09 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
name: 'Lint and test'
on:
# The nightly obuild 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 master.
type: string
default: 'master'
wagon_dependency_ref:
description: Use a specific version of the wagon dependency for the workflow run. Defaults to master.
type: string
default: '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 }}
wagon_dependency_ref: ${{ inputs.wagon_dependency_ref }}
secrets:
HEARTBEAT_URL: ${{ secrets.HEARTBEAT_URL }}
HEARTBEAT_TOKEN: ${{ secrets.HEARTBEAT_TOKEN }}