Skip to content

migrate transport tests to swift testing #56

migrate transport tests to swift testing

migrate transport tests to swift testing #56

Workflow file for this run

name: Bazel
on:
push:
branches:
- main
paths:
- '.bazelrc'
- '.bazelversion'
- '.github/workflows/bazel.yml'
- '**/BUILD.bazel'
- '**/BUILD.overlay'
- 'bazel/*'
- 'Examples/**/*.swift'
- 'MODULE.bazel'
- 'Sources/**/*.swift'
- 'Tests/**/*.swift'
pull_request:
paths:
- '.bazelrc'
- '.bazelversion'
- '.github/workflows/bazel.yml'
- '**/BUILD.bazel'
- '**/BUILD.overlay'
- 'bazel/*'
- 'Examples/**/*.swift'
- 'MODULE.bazel'
- 'Sources/**/*.swift'
- 'Tests/**/*.swift'
workflow_dispatch: ~
concurrency:
group: bazel-${{ github.ref }}
cancel-in-progress: true
jobs:
macOS:
runs-on: macos-14
steps:
- uses: bazel-contrib/setup-bazel@0.8.5
with:
bazelisk-cache: true
- uses: actions/checkout@v4
- run: bazel test //...
Linux:
runs-on: ubuntu-latest
strategy:
matrix:
tag: ['5.9-focal', '6.0-focal']
container:
image: swift:${{ matrix.tag }}
steps:
- uses: bazel-contrib/setup-bazel@0.8.5
with:
bazelisk-cache: true
bazelisk-version: 1.x
- uses: actions/checkout@v4
- run: bazel test --test_output=all //Tests/AppStoreConnectTests
bzlmod-e2e-macOS:
runs-on: macos-14
steps:
- uses: bazel-contrib/setup-bazel@0.8.5
with:
bazelisk-cache: true
- uses: actions/checkout@v4
- run: bazel build //...
working-directory: Examples/bzlmod
bzlmod-e2e-linux:
runs-on: ubuntu-latest
strategy:
matrix:
tag: ['5.9-focal']
container:
image: swift:${{ matrix.tag }}
steps:
- uses: bazel-contrib/setup-bazel@0.8.5
with:
bazelisk-cache: true
bazelisk-version: 1.x
- uses: actions/checkout@v4
- run: bazel build //...
working-directory: Examples/bzlmod