Skip to content

Commit

Permalink
feat(test): limit github workflow concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Aug 17, 2024
1 parent 846d952 commit e7e9b4e
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/core-ganache-3.10.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Core Ganache (py3.10)
on: ["push", "pull_request"]

# This limits the workflow to 1 active run at any given time for a specific branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/core-ganache-3.11.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Core Ganache (py3.11)
on: ["push", "pull_request"]

# This limits the workflow to 1 active run at any given time for a specific branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/core-ganache-3.12.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Core Ganache (py3.12)
on: ["push", "pull_request"]

# This limits the workflow to 1 active run at any given time for a specific branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ on: ["push", "pull_request"]

name: evm tests

# This limits the workflow to 1 active run at any given time for a specific branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/functionality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ on: ["push", "pull_request"]

name: functionality

# This limits the workflow to 1 active run at any given time for a specific branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ on: ["push", "pull_request"]

name: linting

# This limits the workflow to 1 active run at any given time for a specific branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit e7e9b4e

Please sign in to comment.