Skip to content

make test run on windows #31

make test run on windows

make test run on windows #31

name: taxreport loadtest smoketest
on:
push:
branches:
- '**'
paths:
- performance-tests/tax-report/**
- .github/workflows/taxreport-loadtest-push.yml
jobs:
run-taxreport-on-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Generate tokens
working-directory: ./performance-tests/tax-report/src
run: ../../generate-tokens/src/generate-tokens.sh ../../generate-tokens/src 1
env:
API_ENVIRONMENT: ${{ secrets.YTENVIRONMENT }}
TOKEN_GENERATOR_USERNAME: ${{ secrets.TOKENGENUSER }}
TOKEN_GENERATOR_PASSWORD: ${{ secrets.TOKENGENPWD }}
- name: Setup K6
uses: grafana/setup-k6-action@v1
- name: Run local k6 test
uses: grafana/run-k6-action@v1
with:
path: performance-tests/tax-report/src/tax-report.js
flags: --vus=1 --iterations=1
env:
serviceowner: ${{ secrets.OWNER }}