Slach is running Altinity Grafana Plugin testflows tests #297
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run testflows tests | |
run-name: ${{ github.actor }} is running Altinity Grafana Plugin testflows tests | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
branches: | |
- master | |
- main | |
env: | |
artifact_paths: | | |
./Reports/* | |
./Assets/* | |
jobs: | |
tests: | |
runs-on: [ self-hosted, on-demand, type-cpx41, image-x86-system-ubuntu-22.04 ] | |
env: | |
GRAFANA_ACCESS_POLICY_TOKEN: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }} | |
timeout-minutes: 60 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.ref }} | |
- name: Setup | |
run: tests/testflows/infra/setup.sh | |
- name: Run Altinity Grafana Plugin tests | |
run: cd ./tests/testflows/ && | |
python3 | |
-u ./regression.py --before=0.1 --after=0.1 | |
--log raw.log | |
-o classic | |
- name: Create reports | |
if: always() | |
run: tests/testflows/infra/create-report.sh | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: tests-logs | |
path: ${{ env.artifact_paths}} |