Skip to content

Commit b53d779

Browse files
authored
ci: Foresight test integration (#73)
1 parent 84b4eac commit b53d779

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/nightly.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
2626
python-version: ['3.7', '3.8', '3.9', '3.10']
2727
steps:
28+
- name: Collect Workflow Telemetry
29+
uses: runforesight/foresight-workflow-kit-action@v1
30+
if: ${{ always() }}
31+
2832
- name: Check out code
2933
uses: actions/checkout@v2
3034

@@ -66,7 +70,20 @@ jobs:
6670
ACCOUNT_NAME: "firebolt"
6771
FIREBOLT_BASE_URL: "api.dev.firebolt.io"
6872
run: |
69-
pytest -o log_cli=true -o log_cli_level=INFO tests/integration
73+
pytest -o log_cli=true -o log_cli_level=INFO --junit-xml=report/junit.xml tests/integration
74+
75+
- name: Foresight Test / Coverage Results
76+
uses: runforesight/foresight-test-kit-action@v1
77+
if: success() || failure()
78+
with:
79+
test_format: JUNIT
80+
test_framework: PYTEST
81+
test_path: ./report/
82+
tags: |
83+
type:"Nightly"
84+
os:${{ matrix.os }}
85+
python:${{ matrix.python-version }}
86+
language:"Python"
7087
7188
- name: Slack Notify of failure
7289
if: failure()

0 commit comments

Comments
 (0)