-
Notifications
You must be signed in to change notification settings - Fork 8
47 lines (46 loc) · 1.51 KB
/
run_tests.yaml
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
39
40
41
42
43
44
45
46
47
name: WDL Tests
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-cromwell
with:
CROMWELL_VERSION: 87
- name: Womtool Validate
run: find . -name '*.wdl' | xargs -tI {} java -jar ${WOMTOOL_JAR} validate {}
test:
needs: validate
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'
steps:
- uses: actions/checkout@v4
- id: auth
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v2'
with:
workload_identity_provider: 'projects/1038484894585/locations/global/workloadIdentityPools/github-wi-pool/providers/github-wi-provider'
service_account: palantir-workflows-service-acc@broad-dsde-methods.iam.gserviceaccount.com
- uses: ./.github/actions/install-cromwell
with:
CROMWELL_VERSION: 87
- uses: ./.github/actions/install-watt
with:
WATT_VERSION: v1.1
- name: Run tests with WATT
run: python ~/watt/watt.py -e ${CROMWELL_JAR} -c test/watt_config.yml --cromwell-config test/simple_cromwell.conf -p 50 --executor-log-prefix cromwell_logs/
- uses: actions/upload-artifact@v4
if: always()
with:
name: cromwell_logs
path: cromwell_logs/