Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrindel committed Dec 14, 2023
1 parent 905c0bf commit aa7f965
Showing 1 changed file with 2 additions and 31 deletions.
33 changes: 2 additions & 31 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,43 +59,14 @@ jobs:
run: |
echo "USE_BAZEL_VERSION=${{ matrix.version }}" > .bazeliskrc
echo "USE_BAZEL_VERSION=${{ matrix.version }}" > tests/.bazeliskrc
- name: Run Bazel test at root
- name: Run Bazel test at the root
if: ${{ matrix.bazel_mode == 'workspace' && matrix.os != 'windows-2019' }}
uses: ./.github/actions/run_bazel_test
- name: Run Bazel test under tests directory
- name: Run Bazel test under the tests directory
uses: ./.github/actions/run_bazel_test
with:
working-directory: tests

# - name: Run tests (bzlmod)
# if: matrix.bazel_mode == 'module'
# working-directory: ./tests
# run: |
# echo "USE_BAZEL_VERSION=${{ matrix.version }}" > .bazeliskrc

# if [[ ${{ runner.os }} == Windows ]]; then
# # On Windows `//...` expands to `/...`.
# BAZEL_SH='C:\msys64\usr\bin\bash.exe' bazel test ///...
# else
# bazel test //...
# fi

# - name: Run tests (workspace)
# if: matrix.bazel_mode == 'workspace'
# run: |
# echo "USE_BAZEL_VERSION=${{ matrix.version }}" > .bazeliskrc
# echo "USE_BAZEL_VERSION=${{ matrix.version }}" > tests/.bazeliskrc

# if [[ ${{ runner.os }} == Windows ]]; then
# # Because of the docstring quote issue on Windows we skip the stardoc test on the main workspace.
# # On Windows `//...` expands to `/...`.
# cd tests && BAZEL_SH='C:\msys64\usr\bin\bash.exe' bazel test ///...
# else
# bazel test //...

# cd tests && bazel test //...
# fi

all_ci_tests:
runs-on: ubuntu-latest
needs:
Expand Down

0 comments on commit aa7f965

Please sign in to comment.