Skip to content

Demonstrate Throttling #6

Demonstrate Throttling

Demonstrate Throttling #6

Workflow file for this run

name: Demonstrate Throttling
# Windows Only
# Only Run this on a legacy account
on:
workflow_dispatch:
inputs:
parallel:
description: "Parallel"
default: "50"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 11
- name: Set Environment Secret
id: set_env
run: |
echo "SAUCE_USERNAME=${{ secrets.TEAM1_USERNAME }}" >> $GITHUB_ENV
echo "SAUCE_ACCESS_KEY=${{ secrets.TEAM1_ACCESS_KEY }}" >> $GITHUB_ENV
- name: Run Demo
run: mvn test -Dsurefire.parallel=${{ github.event.inputs.parallel }}