/{.github,go}: fix benchmark_runner tests so that they test all use cases

This commit is contained in:
coffeegoddd
2024-02-15 16:32:59 -08:00
parent abbe4a71bd
commit 3d0c9df515
4 changed files with 98 additions and 88 deletions
@@ -1,24 +1,25 @@
#name: Test Sysbench Runner Utility Works
#
#on:
# pull_request:
# branches: [ main ]
# name: Test Benchmark Runner Utility Works
on:
pull_request:
branches: [ main ]
# paths:
# - 'go/**'
# - 'integration-tests/**'
#
#concurrency:
# group: ci-sysbench-runner-tests-${{ github.event.pull_request.number || github.ref }}
# cancel-in-progress: true
#
#jobs:
# mysql_client_integrations_job:
# runs-on: ubuntu-22.04
# name: Test Sysbench Runner
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Copy Dockerfile
# run: cp -r ./go/performance/continuous_integration/. .
# - name: Test sysbench runner
# uses: ./.github/actions/sysbench-runner-tests
concurrency:
group: ci-benchmark-runner-tests-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
benchmark_runner:
if: ${{ github.actor == 'coffeegoddd' }}
runs-on: ubuntu-22.04
name: Test Benchmark Runner
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Copy Dockerfile
run: cp -r ./go/performance/continuous_integration/. .
- name: Test runner
uses: ./.github/actions/benchmark-runner-tests