Skip to content

Commit 06b8657

Browse files
authored
[ENG-9612] Github Actions (#711)
- Ticket: [ENG-9612] - Feature flag: n/a ## Purpose - Get tests running on Github Actions again - streamline some pain-points we have in our current workflow ## Summary of Changes - Remove tests running before every push - Remove confusing copies of `Branch Rules.json` that weren't actually setting the branch rules (they were just copies of the actual rules that you set in Github) - Remove `review.yml` as this is already covered by our repository settings and is redundant - Get tests running in Github Actions again (this was manually turned off in the "Actions" tab in Github, so none of the code changes in the `test.yml` file are technically needed)
1 parent 6136505 commit 06b8657

File tree

5 files changed

+9
-162
lines changed

5 files changed

+9
-162
lines changed

.github/rules/All Branch Rules.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/rules/Main_Develop Branch Rules.json

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/review.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ name: Run Jest Tests
22

33
on:
44
pull_request:
5-
branches: ['*'] # or change to match your default branch
65
push:
7-
branches: ['*']
6+
branches:
7+
- develop
8+
- main
9+
- 'release/*'
10+
- 'hotfix/*'
811
workflow_dispatch:
912

1013
jobs:
@@ -45,6 +48,10 @@ jobs:
4548

4649
- name: Check coverage thresholds
4750
run: npm run test:check-coverage-thresholds
51+
- name: Coveralls Report
52+
uses: coverallsapp/github-action@v2
53+
with:
54+
github-token: ${{ secrets.GITHUB_TOKEN }}
4855
lint:
4956
runs-on: ubuntu-latest
5057

.husky/pre-push

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)