From 201eea503fad4bf5328e102c09e073c9a2b5c920 Mon Sep 17 00:00:00 2001 From: Konboi Date: Wed, 7 Aug 2024 17:30:18 +0900 Subject: [PATCH] add test for https://github.com/launchableinc/record-build-and-test-results-action --- .../record-build-and-test-results-action.yml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/record-build-and-test-results-action.yml diff --git a/.github/workflows/record-build-and-test-results-action.yml b/.github/workflows/record-build-and-test-results-action.yml new file mode 100644 index 0000000..de993ae --- /dev/null +++ b/.github/workflows/record-build-and-test-results-action.yml @@ -0,0 +1,43 @@ +name: record-build-and-test-results-action +on: + push: + branches: + - main + - github-test-result-action # for debug + paths: + - "launchable-test-result//**" + - ".github/workflows/record-build-and-test-results-action.yml" # for debug + + pull_request: + branches: + - main + - github-test-result-action # for debug + paths: + - "launchable-test-result//**" + - ".github/workflows/record-build-and-test-results-action.yml" # for debug + +env: + LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_PYTEST }} + LAUNCHABLE_DEBUG: 1 + LAUNCHABLE_REPORT_ERROR: 1 + +jobs: + tests: + runs-on: ubuntu-latest + defaults: + run: + working-directory: launchable-test-result + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Record build and test results action + uses: launchableinc/record-build-and-test-results-action@v1 + with: + report_path: . + test_runner: pytest + if: always() + env: + LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_PYTEST }} + +