Debian Codegraph @

.github/workflows/test_tutorial_workflow.yml

raw
1 name: test-tutorial-workflow
2
3 on:
4 push:
5 branches:
6 - master
7 - '8.*.x'
8 pull_request:
9 paths-ignore:
10 - '.github/workflows/*.ya?ml'
11 - '!.github/workflows/test_tutorial_workflow.yml'
12 - 'tests/**'
13 - '**.md'
14 workflow_dispatch:
15
16 concurrency:
17 group: ${{ github.workflow }}-${{ github.ref }}
18 cancel-in-progress: true
19
20 defaults:
21 run:
22 shell: bash
23
24 env:
25 FORCE_COLOR: 2
26 PIP_PROGRESS_BAR: off
27
28 jobs:
29 test:
30 strategy:
31 fail-fast: false
32 matrix:
33 include:
34 - os: 'ubuntu-latest'
35 python-version: '3'
36 - os: 'ubuntu-22.04'
37 python-version: '3.12'
38 runs-on: ${{ matrix.os }}
39 timeout-minutes: 10
40 steps:
41 - name: configure python
42 uses: actions/setup-python@v6
43 with:
44 python-version: ${{ matrix.python-version }}
45
46 - name: checkout
47 uses: actions/checkout@v5
48
49 - name: Install docs/tutorial dependencies
50 uses: cylc/cylc-doc/.github/actions/install-dependencies@master
51
52 - name: install cylc-flow
53 run: pip install .[all]
54
55 - name: run tutorial workflow
56 run: |
57 mkdir -p "${HOME}/cylc-run"
58 etc/bin/run-validate-tutorials
59
60 - name: debug
61 if: failure()
62 run: |
63 find ~/cylc-run -name job.err -exec cat {} + # cylc error files