forked from cylc/cylc-flow
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (43 loc) · 1.15 KB
/
test_tutorial_workflow.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
39
40
41
42
43
44
45
46
47
48
49
50
51
name: test-tutorial-workflow
on:
push:
branches:
- master
- '8.*.x'
pull_request:
paths-ignore:
- '.github/workflows/*.ya?ml'
- '!.github/workflows/test_tutorial_workflow.yml'
- 'tests/**'
- '**.md'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
python-version: ['3.7', '3.11']
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: configure python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: checkout
uses: actions/checkout@v4
- name: Install docs/tutorial dependencies
uses: cylc/cylc-doc/.github/actions/install-dependencies@master
- name: install cylc-flow
run: pip install .[all]
- name: run tutorial workflow
timeout-minutes: 6
run: |
mkdir -p "${HOME}/cylc-run"
etc/bin/run-validate-tutorials
- name: debug
if: failure()
run: |
find ~/cylc-run -name job.err -exec cat {} + # cylc error files