antip00 is running Altinity Grafana Plugin testflows tests #60
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-app-docker-ce ] | |
env: | |
GRAFANA_ACCESS_POLICY_TOKEN: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }} | |
timeout-minutes: 20 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ inputs.ref }} | |
- name: Setup | |
run: .github/setup.sh | |
- name: Creating plugin | |
run: python3 | |
-u ./tests/testflows/regression.py | |
--only "/nothing" | |
- name: Run Altinity Grafana Plugin tests | |
run: python3 | |
-u ./tests/testflows/regression.py | |
--log raw.log --only "/Grafana Datasource Plugin For Clickhouse/dashboards/panel check/*" | |
-o nice --before=1 --after=1 | |
- name: Create reports | |
if: always() | |
run: .github/create-report.sh | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: tests-logs | |
path: ${{ env.artifact_paths}} |