Android: Refactor and fix C/JNI ABI #1798
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: SwiftPM Tests | |
| on: | |
| pull_request: | |
| types: [ opened, synchronize ] | |
| branches: | |
| - "master" | |
| - "hotfix/*" | |
| paths-ignore: | |
| - "README.md" | |
| - ".env.*" | |
| - "**/*.md" | |
| - "**/*.sh" | |
| - "fastlane/**" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| run_swift_tests: | |
| name: Run SwiftPM tests | |
| runs-on: macos-26 | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: partout-io/action-prepare-xcode-build@master | |
| with: | |
| access-token: ${{ secrets.ACCESS_TOKEN }} | |
| submodules: true | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: package-lock.json | |
| - name: Install OpenAPI Generator dependencies | |
| run: npm ci | |
| - name: Cache OpenAPI Generator runtime | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.openapi-generator | |
| key: ${{ runner.os }}-openapi-generator-${{ hashFiles('package-lock.json', 'openapitools.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-openapi-generator- | |
| - name: Verify generated Swift ABI is up to date | |
| run: | | |
| scripts/gen-abi-swift.sh | |
| if [[ -n "$(git status --porcelain)" ]]; then | |
| git status --short | |
| exit 1 | |
| fi | |
| - run: | | |
| ci/run-cross-tests.sh | |
| - run: | | |
| ci/run-apple-tests.sh | |
| run_api_tests: | |
| name: Run Node.js API tests | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 2 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: api/package-lock.json | |
| - run: | | |
| ci/run-api-tests.sh |