simple_judge_test: Adjust sleep duration #136
This file contains 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: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: | |
- "ubuntu-22.04" | |
- "ubuntu-20.04" | |
- "macos-latest" | |
name: Test (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
env: | |
USE_BAZEL_VERSION: "7.1.1" | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
- name: Build | |
run: bazelisk build //... | |
- name: Copy command.profile.gz | |
run: cp "$(bazelisk info output_base)/command.profile.gz" ./ | |
- name: Upload command.profile.gz | |
uses: actions/upload-artifact@v2 | |
with: | |
name: command.profile.${{ matrix.os }}.gz | |
path: command.profile.gz | |
- name: Run tests | |
run: bazelisk test --keep_going --test_strategy=exclusive --build_event_json_file=$PWD/build-events.jsonl //... | |
- name: Render test reports | |
run: bazelisk run //contest:render_test_results -- $PWD/build-events.jsonl |