2024-11-26 15:24:12 +00:00
|
|
|
name: SwiftPM Tests
|
2021-11-28 20:19:49 +00:00
|
|
|
|
|
|
|
on:
|
2022-10-30 10:53:53 +00:00
|
|
|
pull_request:
|
|
|
|
types: [ opened, synchronize ]
|
2021-12-01 22:21:39 +00:00
|
|
|
paths-ignore:
|
2023-04-07 10:08:55 +00:00
|
|
|
- '.env.*'
|
2022-10-30 10:53:53 +00:00
|
|
|
- '**/*.md'
|
2022-10-30 11:56:49 +00:00
|
|
|
- '**/*.sh'
|
|
|
|
- '**/*.yml'
|
2024-09-23 13:02:26 +00:00
|
|
|
- 'fastlane/**'
|
2021-11-28 20:19:49 +00:00
|
|
|
|
2022-11-06 17:08:41 +00:00
|
|
|
concurrency:
|
2024-09-23 13:02:26 +00:00
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
2022-11-06 17:08:41 +00:00
|
|
|
|
2021-11-28 20:19:49 +00:00
|
|
|
jobs:
|
2024-11-12 17:35:44 +00:00
|
|
|
run_swift_tests:
|
|
|
|
name: Run SwiftPM tests
|
2024-11-13 18:17:00 +00:00
|
|
|
runs-on: macos-15
|
2024-11-07 00:48:59 +00:00
|
|
|
timeout-minutes: 10
|
2021-11-28 20:19:49 +00:00
|
|
|
steps:
|
2024-09-24 09:17:52 +00:00
|
|
|
- uses: passepartoutvpn/action-prepare-xcode-build@master
|
2022-10-30 10:53:53 +00:00
|
|
|
with:
|
2024-09-24 09:17:52 +00:00
|
|
|
access_token: ${{ secrets.ACCESS_TOKEN }}
|
2024-12-01 20:33:58 +00:00
|
|
|
- name: "Run tests"
|
|
|
|
run: |
|
2024-11-28 16:45:18 +00:00
|
|
|
cd Library
|
2024-11-12 17:35:44 +00:00
|
|
|
swift test
|