Skip to content

Commit

Permalink
team workflows can't have variable parallelization settings
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Feb 23, 2024
1 parent f0763cf commit 6ece28a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/team1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ name: Team 1 Tests

on:
workflow_dispatch:
inputs:
parallel:
description: "Parallel"
default: "10"
workflow_run:
workflows: [ "Multiple Teams Simultaneously" ]
types:
Expand All @@ -27,4 +23,4 @@ jobs:
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 }}
run: mvn test -Dsurefire.parallel=10
6 changes: 1 addition & 5 deletions .github/workflows/team3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ name: Team 3 Tests

on:
workflow_dispatch:
inputs:
parallel:
description: "Parallel"
default: "30"
workflow_run:
workflows: [ "Multiple Teams Simultaneously" ]
types:
Expand All @@ -27,4 +23,4 @@ jobs:
echo "SAUCE_USERNAME=${{ secrets.TEAM3_USERNAME }}" >> $GITHUB_ENV
echo "SAUCE_ACCESS_KEY=${{ secrets.TEAM3_ACCESS_KEY }}" >> $GITHUB_ENV
- name: Run Demo
run: mvn test -Dsurefire.parallel=${{ github.event.inputs.parallel }}
run: mvn test -Dsurefire.parallel=30
6 changes: 1 addition & 5 deletions .github/workflows/team5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ name: Team 5 Tests

on:
workflow_dispatch:
inputs:
parallel:
description: "Parallel"
default: "50"
workflow_run:
workflows: [ "Multiple Teams Simultaneously" ]
types:
Expand All @@ -27,4 +23,4 @@ jobs:
echo "SAUCE_USERNAME=${{ secrets.TEAM5_USERNAME }}" >> $GITHUB_ENV
echo "SAUCE_ACCESS_KEY=${{ secrets.TEAM5_ACCESS_KEY }}" >> $GITHUB_ENV
- name: Run Demo
run: mvn test -Dsurefire.parallel=${{ github.event.inputs.parallel }}
run: mvn test -Dsurefire.parallel=50

0 comments on commit 6ece28a

Please sign in to comment.