Skip to content

Commit 97c32b9

Browse files
authored
Merge pull request #584 from maxim-belkin/add-two-more-lessons
Template workflow: add two more lessons
2 parents 14ca369 + 902705d commit 97c32b9

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/template.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@ jobs:
88
name: ${{ matrix.lesson-name }} (${{ matrix.os-name }})
99
if: github.repository == 'carpentries/styles'
1010
runs-on: ${{ matrix.os }}
11+
continue-on-error: ${{ matrix.experimental }}
1112
strategy:
1213
fail-fast: false
1314
matrix:
1415
lesson: [swcarpentry/shell-novice, datacarpentry/r-intro-geospatial, librarycarpentry/lc-git]
1516
os: [ubuntu-20.04, macos-latest, windows-latest]
17+
experimental: [false]
18+
remote-theme: [false]
1619
include:
1720
- os: ubuntu-20.04
18-
os-name: Ubuntu
21+
os-name: Linux
1922
- os: macos-latest
2023
os-name: macOS
2124
- os: windows-latest
@@ -26,6 +29,17 @@ jobs:
2629
lesson-name: (DC) R Intro Geospatial
2730
- lesson: librarycarpentry/lc-git
2831
lesson-name: (LC) Intro to Git
32+
- lesson: datacarpentry/astronomy-python
33+
lesson-name: (DC) Foundations of Astronomical Data Science
34+
experimental: true
35+
os: ubuntu-20.04
36+
os-name: Linux
37+
remote-theme: true
38+
- lesson: carpentries/lesson-example
39+
lesson-name: (CP) Lesson Example
40+
experimental: false
41+
os: ubuntu-20.04
42+
os-name: Linux
2943
defaults:
3044
run:
3145
shell: bash # forces 'Git for Windows' on Windows
@@ -72,6 +86,7 @@ jobs:
7286
fi
7387
7488
- name: Sync lesson with carpentries/styles
89+
if: ${{ ! matrix.remote-theme }}
7590
working-directory: lesson
7691
run: |
7792
git config --global user.email "[email protected]"
@@ -136,3 +151,6 @@ jobs:
136151
137152
- run: make site
138153
working-directory: lesson
154+
155+
- run: make lesson-check-all
156+
working-directory: lesson

0 commit comments

Comments
 (0)