Skip to content

Commit

Permalink
setup
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn committed Oct 19, 2023
1 parent d29bb3e commit 84bfc4e
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- uses: actions/checkout@v3
- id: bazel_6
run: echo "bazelversion=$(head -n 1 .bazelversion)" >> $GITHUB_OUTPUT
- id: bazel_5
run: echo "bazelversion=5.3.2" >> $GITHUB_OUTPUT
# - id: bazel_5
# run: echo "bazelversion=5.3.2" >> $GITHUB_OUTPUT
outputs:
# Will look like ["<version from .bazelversion>", "5.3.2"]
bazelversions: ${{ toJSON(steps.*.outputs.bazelversion) }}
Expand Down Expand Up @@ -60,10 +60,10 @@ jobs:
bazelversion: ${{ fromJSON(needs.matrix-prep-bazelversion.outputs.bazelversions) }}
folder:
- .
- e2e/custom_registry
- e2e/wasm
- e2e/smoke
- e2e/crane_as_registry
# - e2e/custom_registry
# - e2e/wasm
# - e2e/smoke
# - e2e/crane_as_registry

bzlmodEnabled: [true, false]
exclude:
Expand Down Expand Up @@ -103,6 +103,10 @@ jobs:
working-directory: ${{ matrix.folder }}
run: echo "${{ matrix.bazelversion }}" > .bazelversion

- name: Configure TestContainers cloud
if: ${{ env.TC_CLOUD_TOKEN != '' && matrix.os == 'macos-latest' }}
uses: atomicjar/testcontainers-cloud-setup-action@main

- name: bazel test //...
working-directory: ${{ matrix.folder }}
env:
Expand Down

0 comments on commit 84bfc4e

Please sign in to comment.