Skip to content

add report file and fix path #7

add report file and fix path

add report file and fix path #7

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
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Record build and test results action
uses: launchableinc/record-build-and-test-results-action@support-flavor-and-test-session-name-options
with:
report_path: launchable-test-result/report.xml
test_runner: pytest
if: always()
env:
LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_PYTEST }}