-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (33 loc) · 905 Bytes
/
test.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
# run everything just to make sure it works!
name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
validate-yaml:
name: Validate YAML
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install python dependencies
run: pip install cookiecutter pyyaml
- name: Validate YAML
run: python -m unittest tests/test_ghactionsyaml.py
test:
name: E2E integration test
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2
with:
path: cookiecutter-chrisapp
- name: setup CUBE
uses: fnndsc/minimake@v1
- name: install cookiecutter
run: |
pip install cookiecutter
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: test
run: ./cookiecutter-chrisapp/tests/example.sh cookiecutter-chrisapp