Skip to content

Remove build check from unit tests #2189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/workflows/build_and_test.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build + Unit Tests
name: Unit Tests

on:
push:
Expand All @@ -17,8 +17,8 @@ concurrency:
cancel-in-progress: true

jobs:
run_build_unit_tests:
name: build_unit_test
unit_tests:
name: unit_tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -32,16 +32,13 @@ jobs:
- name: Set timeout on Windows # Windows UT run slower and need a longer timeout
shell: bash
if: matrix.os == 'windows-2022'
run: |
echo "TIMEOUT=240s" >> $GITHUB_ENV
run: echo "TIMEOUT=240s" >> $GITHUB_ENV
- name: build_test
shell: bash
run: .github/workflows/build_and_test.sh
run: ./scripts/build_test.sh
env:
TIMEOUT: ${{ env.TIMEOUT }}
- name: fuzz_test
shell: bash
if: matrix.os == 'ubuntu-22.04' # Only run on Ubuntu 22.04
run: | # Run each fuzz test 15 seconds
cd ${{ github.workspace }}
./scripts/build_fuzz.sh 15
run: ./scripts/build_fuzz.sh 15 # Run each fuzz test 15 seconds