Skip to content

Commit ac0a2bf

Browse files
committed
Template workflow: add two more lessons
1 parent 14ca369 commit ac0a2bf

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/template.yml

Lines changed: 16 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]"

0 commit comments

Comments
 (0)