Skip to content

Commit

Permalink
Update test.yml for pull-request and push
Browse files Browse the repository at this point in the history
  • Loading branch information
shirleyfyx committed Oct 14, 2023
1 parent ef6a575 commit 52d635c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Unit Test

on:
push:
branches:
- 'main'
push:
branches-ignore:
- 'main'
- 'development'
pull_request:

jobs:
test:
Expand All @@ -25,8 +27,8 @@ jobs:

- name: Install dependencies
run: yarn install
working-directory: ../minerva/
working-directory: ../minerva-rewrite/

- name: Run unit tests
run: yarn test
working-directory: ../minerva/
working-directory: ../minerva-rewrite/

0 comments on commit 52d635c

Please sign in to comment.