Skip to content

Commit 6639d4b

Browse files
authored
GitHub Actions: better workflow and job names (#500)
1 parent 99ecdf4 commit 6639d4b

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/template.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
1-
name: Template
1+
name: Test template
22
on:
33
push:
44
branches: gh-pages
55
pull_request:
66
jobs:
77
check-template:
8-
name: Test lesson template
8+
name: ${{ matrix.lesson-name }} (${{ matrix.os-name }})
99
if: github.repository == 'carpentries/styles'
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
fail-fast: false
1313
matrix:
1414
lesson: [swcarpentry/shell-novice, datacarpentry/r-intro-geospatial, librarycarpentry/lc-git]
1515
os: [ubuntu-latest, macos-latest, windows-latest]
16+
include:
17+
- os: ubuntu-latest
18+
os-name: Ubuntu
19+
- os: macos-latest
20+
os-name: macOS
21+
- os: windows-latest
22+
os-name: Windows
23+
- lesson: swcarpentry/shell-novice
24+
lesson-name: (SWC) Shell novice
25+
- lesson: datacarpentry/r-intro-geospatial
26+
lesson-name: (DC) R Intro Geospatial
27+
- lesson: librarycarpentry/lc-git
28+
lesson-name: (LC) Intro to Git
1629
defaults:
1730
run:
1831
shell: bash # forces 'Git for Windows' on Windows

0 commit comments

Comments
 (0)