From 5bed1ec652677566b433b7fab772639d2a9ec871 Mon Sep 17 00:00:00 2001 From: Oscar Vestlie Date: Mon, 17 Jul 2023 15:50:05 -0700 Subject: [PATCH] Add workflow to trigger uploader faster --- .github/workflows/testing.yaml | 31 +++++++++++++++++++++++++ .github/workflows/unit_test_report.yaml | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 .github/workflows/testing.yaml diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml new file mode 100644 index 0000000000000..0e9d19d15c1e9 --- /dev/null +++ b/.github/workflows/testing.yaml @@ -0,0 +1,31 @@ +name: testing + +on: + pull_request: + types: [opened, reopened, synchronize, labeled] + branches: + - main + - feature/* + push: + branches: + - main + - feature/* + workflow_dispatch: + inputs: + nightly: + description: 'Nightly workflow.' + required: true + type: boolean + default: false + +jobs: + linux-x64: + runs-on: ubuntu-latest + steps: + - name: Archive unit test report + uses: actions/upload-artifact@v3 + # TODO: Should only run for unit-tests + if: always() + with: + name: unit-test-results + path: unit-test-results/ diff --git a/.github/workflows/unit_test_report.yaml b/.github/workflows/unit_test_report.yaml index 7abce90684895..44bcd69bfca76 100644 --- a/.github/workflows/unit_test_report.yaml +++ b/.github/workflows/unit_test_report.yaml @@ -4,6 +4,8 @@ on: workflow_run: workflows: - linux + # TODO: Temporary testing + - testing # TODO: Download xml files from GCS # - android # - raspi