Skip to content

Commit

Permalink
Use for test job a macOS machine to be able to run golden tests (#220)
Browse files Browse the repository at this point in the history
#138 & #216 are adding golden tests. Golden tests can only run on one platform. We decided to pick macOS as the platform because primary using macOS. Therefore, should our CI use macOS machines. Otherwise, the Golden Tests are skipped.
  • Loading branch information
nilsreichardt authored May 12, 2022
1 parent 324e90a commit 0fba041
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- run: addlicense -check -c "Sharezone UG (haftungsbeschränkt)" -f header_template.txt -ignore "**/GeneratedPluginRegistrant.swift" .

test:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v2

Expand All @@ -75,7 +75,7 @@ jobs:
run: pub global activate --source path "$CI_CD_DART_SCRIPTS_PACKAGE_PATH"

# So we can just use "sz COMMAND" instead of "dart ../path/to/script.dart ..."
- run: echo $(realpath ./bin) >> $GITHUB_PATH
- run: echo $(pwd)/bin >> $GITHUB_PATH

- name: Run tests via "sz test"
run: sz test -v
Expand Down

0 comments on commit 0fba041

Please sign in to comment.