Skip to content

Commit

Permalink
green up
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn committed Jun 8, 2024
1 parent 2e2fb75 commit 9f06946
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ jobs:
env:
TC_CLOUD_TOKEN: ${{ secrets.TC_CLOUD_TOKEN }}
steps:
- id: linux
run: echo "os=ubuntu-latest" >> $GITHUB_OUTPUT
- id: macos
run: echo "os=macos-13" >> $GITHUB_OUTPUT
# Don't run MacOS if there is no TestContainers API token which is the case on forks. We need it for container tests.
if: ${{ env.TC_CLOUD_TOKEN != '' }}
# disable these until we get it green
# - id: linux
# run: echo "os=ubuntu-latest" >> $GITHUB_OUTPUT
# - id: macos
# run: echo "os=macos-13" >> $GITHUB_OUTPUT
# # Don't run MacOS if there is no TestContainers API token which is the case on forks. We need it for container tests.
# if: ${{ env.TC_CLOUD_TOKEN != '' }}
- id: windows
run: echo "os=windows-latest" >> $GITHUB_OUTPUT
# Only run on main branch (not PRs) to minimize windows minutes (billed at 2X)
Expand Down Expand Up @@ -84,7 +85,6 @@ jobs:
bzlmodEnabled: false
# Windows is mostly broken, so we allow-list below instead.
- os: windows-latest
bzlmodEnabled: false
# TODO: fix
- folder: e2e/wasm
bzlmodEnabled: true
Expand Down Expand Up @@ -175,9 +175,4 @@ jobs:
# Bazelisk will download bazel to here, ensure it is cached between runs.
XDG_CACHE_HOME: ~/.cache/bazel-repo
run: |
bazel \
--bazelrc=${{ github.workspace }}/.github/workflows/ci.bazelrc \
--bazelrc=.bazelrc \
test //... \
${{ steps.set_bzlmod_flag.outputs.bzlmod_flag }} \
${{ steps.set_credential_helper_flag.outputs.credential_helper_flag }}
bazel --bazelrc=${{ github.workspace }}/.github/workflows/ci.bazelrc --bazelrc=.bazelrc test //... ${{ steps.set_bzlmod_flag.outputs.bzlmod_flag }} ${{ steps.set_credential_helper_flag.outputs.credential_helper_flag }}

0 comments on commit 9f06946

Please sign in to comment.