-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[13604] Run GHA workflow tests on each PR #30975
Merged
AndrewGable
merged 36 commits into
Expensify:main
from
radoslawkrzemien:@radoslawkrzemien/13604-run-workflow-tests-on-pr
Nov 27, 2023
Merged
Changes from 35 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
cb75361
Add workflow
radoslawkrzemien 62256f7
Fix
radoslawkrzemien 6df5949
Add trigger
radoslawkrzemien 38f51dd
Update trigger
radoslawkrzemien 674a2a0
Merge pull request #1 from radoslawkrzemien/@radoslawkrzemien/13604-r…
radoslawkrzemien 9bb710e
Add step
radoslawkrzemien 4010b80
Add step
radoslawkrzemien 28cb3bf
Update step
radoslawkrzemien e40c556
Update step
radoslawkrzemien 0cca425
Update step
radoslawkrzemien 33d29b6
Add step
radoslawkrzemien 6cd203e
Update step
radoslawkrzemien d455679
Update step
radoslawkrzemien ac5632f
Update step
radoslawkrzemien a08af4f
Fix tests
radoslawkrzemien a6dafa6
Fix tests
radoslawkrzemien a68fb46
Fix tests
radoslawkrzemien 8ae7987
Fix tests
radoslawkrzemien 498cffc
Fix tests
radoslawkrzemien 214a772
Fix tests
radoslawkrzemien 6721a95
Fix tests
radoslawkrzemien 9737ba4
Fix tests
radoslawkrzemien eb18ea0
Run prettier
radoslawkrzemien cc52b31
Add quotes
radoslawkrzemien 398210d
Remove strategy
radoslawkrzemien 89a190d
Merge branch 'Expensify:main' into main
radoslawkrzemien 889d116
Merge remote-tracking branch 'origin/main' into @radoslawkrzemien/136…
radoslawkrzemien 48997af
Add wildcards
radoslawkrzemien 4e97712
Move actor definition
radoslawkrzemien 7c24f56
Merge branch 'Expensify:main' into main
radoslawkrzemien f1dfd28
Merge remote-tracking branch 'origin/main' into @radoslawkrzemien/136…
radoslawkrzemien 994c9f0
Fix workflow tests
radoslawkrzemien ff4dcb1
Fix workflow tests
radoslawkrzemien 7c31dd1
Fix workflow tests
radoslawkrzemien 357d4ef
Run prettier
radoslawkrzemien 1dab7e7
Type git with lowercase
radoslawkrzemien File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Test GitHub Actions workflows | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
pull_request: | ||
types: [opened, reopened, edited, synchronize] | ||
branches-ignore: [staging, production] | ||
paths: ['.github/**'] | ||
|
||
jobs: | ||
testGHWorkflows: | ||
if: ${{ github.actor != 'OSBotify' && github.actor != 'imgbot[bot]' || github.event_name == 'workflow_call' }} | ||
runs-on: ubuntu-latest | ||
env: | ||
CI: true | ||
name: test GitHub Workflows | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: Expensify/App/.github/actions/composite/setupNode@main | ||
|
||
- name: Setup Homebrew | ||
uses: Homebrew/actions/setup-homebrew@master | ||
|
||
- name: Install Act | ||
run: brew install act | ||
|
||
- name: Set ACT_BINARY | ||
run: echo "ACT_BINARY=$(which act)" >> "$GITHUB_ENV" | ||
|
||
- name: Run tests | ||
run: npm run workflow-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAB - others are lowercase, ideally this should match