mirror of
https://github.com/xweiba/location-spoofer.git
synced 2026-09-22 06:40:44 +08:00
ci: 契约测试接入 CI 与 make test
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name: Contract Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
contract-tests:
|
||||
runs-on: macos-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run contract tests
|
||||
run: ./Tests/run_all_contract_tests.sh
|
||||
@@ -28,6 +28,9 @@ jobs:
|
||||
- name: Install XcodeGen
|
||||
run: brew install xcodegen
|
||||
|
||||
- name: Run contract tests
|
||||
run: ./Tests/run_all_contract_tests.sh
|
||||
|
||||
- name: Build unsigned IPA
|
||||
run: ./build.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user