Skip to content

Commit

Permalink
Skip tests for implementations without change (#167)
Browse files Browse the repository at this point in the history
Currently, we run ~50 for each commit. This takes up quite a lot of CI
resources, resulting in long wait times. Typically, (especially with Renovate)
only a single language changes.
  • Loading branch information
mpkorstanje authored Sep 7, 2023
1 parent 56e8d49 commit cc363ac
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ on:
branches:
- main
- renovate/**
paths:
- c/**
- testdata/**
pull_request:
branches:
- main
paths:
- c/**
- testdata/**
workflow_call:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ on:
branches:
- main
- renovate/**
paths:
- dart/**
- testdata/**
pull_request:
branches:
- main
paths:
- c/**
- testdata/**
workflow_call:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ on:
branches:
- main
- renovate/**
paths:
- dotnet/**
- testdata/**
pull_request:
branches:
- main
paths:
- c/**
- testdata/**
workflow_call:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ on:
branches:
- main
- renovate/**
paths:
- go/**
- testdata/**
pull_request:
branches:
- main
paths:
- c/**
- testdata/**
workflow_call:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ on:
branches:
- main
- renovate/**
paths:
- java/**
- testdata/**
pull_request:
branches:
- main
paths:
- c/**
- testdata/**
workflow_call:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ on:
branches:
- main
- renovate/**
paths:
- javascript/**
- testdata/**
pull_request:
branches:
- main
paths:
- c/**
- testdata/**
workflow_call:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-perl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ on:
branches:
- main
- renovate/**
paths:
- perl/**
- testdata/**
pull_request:
branches:
- main
paths:
- c/**
- testdata/**
workflow_call:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ on:
branches:
- main
- renovate/**
paths:
- php/**
- testdata/**
pull_request:
branches:
- main
paths:
- c/**
- testdata/**
workflow_call:

permissions:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ on:
branches:
- main
- renovate/**
paths:
- php/**
- testdata/**
pull_request:
branches:
- main
paths:
- c/**
- testdata/**
workflow_call:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ on:
branches:
- main
- renovate/**
paths:
- ruby/**
- testdata/**
pull_request:
branches:
- main
paths:
- c/**
- testdata/**
workflow_call:

jobs:
Expand Down

0 comments on commit cc363ac

Please sign in to comment.