From 6639d4b9af0e899a77cd83f7058246413eadc26c Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Tue, 25 Aug 2020 03:17:56 -0500 Subject: [PATCH] GitHub Actions: better workflow and job names (#500) --- .github/workflows/template.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/template.yml b/.github/workflows/template.yml index 13f03bc..80b49f6 100644 --- a/.github/workflows/template.yml +++ b/.github/workflows/template.yml @@ -1,11 +1,11 @@ -name: Template +name: Test template on: push: branches: gh-pages pull_request: jobs: check-template: - name: Test lesson template + name: ${{ matrix.lesson-name }} (${{ matrix.os-name }}) if: github.repository == 'carpentries/styles' runs-on: ${{ matrix.os }} strategy: @@ -13,6 +13,19 @@ jobs: matrix: lesson: [swcarpentry/shell-novice, datacarpentry/r-intro-geospatial, librarycarpentry/lc-git] os: [ubuntu-latest, macos-latest, windows-latest] + include: + - os: ubuntu-latest + os-name: Ubuntu + - os: macos-latest + os-name: macOS + - os: windows-latest + os-name: Windows + - lesson: swcarpentry/shell-novice + lesson-name: (SWC) Shell novice + - lesson: datacarpentry/r-intro-geospatial + lesson-name: (DC) R Intro Geospatial + - lesson: librarycarpentry/lc-git + lesson-name: (LC) Intro to Git defaults: run: shell: bash # forces 'Git for Windows' on Windows -- 2.30.2