Skip to content

Commit

Permalink
fix runners, added mac os
Browse files Browse the repository at this point in the history
  • Loading branch information
dagfinno committed Nov 28, 2024
1 parent 553e233 commit 1088c49
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/taxreport-loadtest-ondemand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ on:
default: "'ubuntu-latest'"
options:
- "'ubuntu-latest'"
- "['self-hosted', 'macOS', 'X64']"
- "['self-hosted', 'X64', 'Windows']"
- "'windows-latest'"
- "'macOS-latest'"

jobs:
run-taxreport-ondemand:
Expand Down Expand Up @@ -58,15 +58,6 @@ jobs:
TOKEN_GENERATOR_USERNAME: ${{ secrets.TOKENGENUSER }}
TOKEN_GENERATOR_PASSWORD: ${{ secrets.TOKENGENPWD }}


- name: Generate tokens
working-directory: ./performance-tests/tax-report/src
run: ../../generate-tokens/src/generate-tokens.sh ../../generate-tokens/src ${{ inputs.limit }}
env:
API_ENVIRONMENT: ${{ secrets.YTENVIRONMENT }}
TOKEN_GENERATOR_USERNAME: ${{ secrets.TOKENGENUSER }}
TOKEN_GENERATOR_PASSWORD: ${{ secrets.TOKENGENPWD }}

- name: Setup K6
uses: grafana/setup-k6-action@v1

Expand All @@ -78,8 +69,8 @@ jobs:
env:
K6_WEB_DASHBOARD: true
K6_WEB_DASHBOARD_EXPORT: html-report.html
K6_CLOUD_TOKEN: ${{ secrets.K6_CLOUD_TOKEN }}
K6_CLOUD_PROJECT_ID: ${{ secrets.K6_CLOUD_PROJECT_ID }}
#K6_CLOUD_TOKEN: ${{ secrets.K6_CLOUD_TOKEN }}
#K6_CLOUD_PROJECT_ID: ${{ secrets.K6_CLOUD_PROJECT_ID }}
serviceowner: ${{ secrets.OWNER }}

- name: Upload summary html report
Expand Down

0 comments on commit 1088c49

Please sign in to comment.