Skip to content

Commit

Permalink
Use matrix to run tests on all folders
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Sep 20, 2024
1 parent f780e7c commit 4eb52aa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:

jobs:
build_and_test:
strategy:
matrix:
folder: ["04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19"]
runs-on: macos-14
steps:
- name: Check Xcode version
Expand All @@ -13,8 +16,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Test
- name: Test examples ${{ matrix.folder }}
run: |
brew install xcodegen
cd ./04-tdd-in-the-real-world
cd "./${{ matrix.folder }}*"
make

0 comments on commit 4eb52aa

Please sign in to comment.