Skip to content

Commit ccc0853

Browse files
authored
Merge pull request #81 from tom-tan/add-ci
2 parents e65a2de + e16b733 commit ccc0853

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the action will run.
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the main branch
8+
push:
9+
branches: [ main ]
10+
pull_request:
11+
branches: [ main ]
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
jobs:
17+
validate:
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
23+
- uses: actions/setup-python@v2
24+
with:
25+
python-version: '3.8.x'
26+
27+
- name: Setup prerequirements
28+
run: pip install cwltest schema-salad
29+
30+
- name: Download schema for conformance_tests.yaml
31+
run: curl -LO https://raw.githubusercontent.com/common-workflow-language/cwltest/main/cwltest/cwltest-schema.yml
32+
33+
- name: Validate conformance_tests.yaml
34+
run: schema-salad-tool cwltest-schema.yml conformance_tests.yaml
35+
36+
- name: Validate CWL documents
37+
run: ./run_test.sh --self

0 commit comments

Comments
 (0)