From 19b286c34c01bfa68afc4656400bb7d5183e8afe Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Mon, 19 Feb 2024 12:42:49 -0800 Subject: [PATCH 1/2] New test runner --- .github/workflows/replication-tests.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/replication-tests.yaml diff --git a/.github/workflows/replication-tests.yaml b/.github/workflows/replication-tests.yaml new file mode 100644 index 0000000000..1e2f696140 --- /dev/null +++ b/.github/workflows/replication-tests.yaml @@ -0,0 +1,23 @@ +name: Replication Tests + +on: + pull_request: + paths: + - '*' + +concurrency: + group: ci-replication-tests-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + testing-job: + runs-on: ubuntu-22.04 + timeout-minutes: 10 + name: Run tests + steps: + - name: Check out code + uses: actions/checkout@v3 + - name: Build docker image + run: docker build -t local --file testing/ReplicationTestDockerfile . + - name: Run tests + run: docker run --detach=false local From d6ab68aa6c2f4037cacfc939d6c5207ea0c68ebe Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Mon, 19 Feb 2024 12:47:13 -0800 Subject: [PATCH 2/2] Fixed bad formatting --- .github/workflows/replication-tests.yaml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/replication-tests.yaml b/.github/workflows/replication-tests.yaml index 1e2f696140..21a91c20e4 100644 --- a/.github/workflows/replication-tests.yaml +++ b/.github/workflows/replication-tests.yaml @@ -1,9 +1,5 @@ name: Replication Tests - -on: - pull_request: - paths: - - '*' +on: [pull_request] concurrency: group: ci-replication-tests-${{ github.event.pull_request.number || github.ref }} @@ -15,9 +11,9 @@ jobs: timeout-minutes: 10 name: Run tests steps: - - name: Check out code - uses: actions/checkout@v3 - - name: Build docker image - run: docker build -t local --file testing/ReplicationTestDockerfile . - - name: Run tests - run: docker run --detach=false local + - name: Check out code + uses: actions/checkout@v3 + - name: Build docker image + run: docker build -t local --file testing/ReplicationTestDockerfile . + - name: Run tests + run: docker run --detach=false local