Various CI fixes (#161)

* Update homebrew dependencies like on the other workflows. Fixes problems caused by buggy swiftformat prebundled on the github actions macos runner

* Removed UI tests from PR tests and running them on a schedule instead. Hopefuly fixed code coverage.

* Added back simulator versions as they need to match UI test snapshots

* Allow UI tests to run on this PR

* Added back skipped UI tests

* Fix danger sometimes not working on forks and disable integration tests on them
This commit is contained in:
Stefan Ceriu
2022-08-19 17:42:03 +03:00
committed by GitHub
parent 78df4abc7f
commit 142180b1f3
10 changed files with 113 additions and 27 deletions
+7 -1
View File
@@ -2,12 +2,14 @@ name: Integration tests
on:
schedule:
- cron: '0 3 * * 1-5'
- cron: '0 2 * * 1-5'
workflow_dispatch:
jobs:
integration_tests:
if: github.event.pull_request.head.repo.full_name == github.repository
name: Integration Tests
runs-on: macos-12
@@ -19,6 +21,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Brew bundle
run:
brew update && brew bundle && brew upgrade
- uses: actions/cache@v3
with:
path: vendor/bundle