From 52d635c6b50e4a14b004a9820273376e3ec07092 Mon Sep 17 00:00:00 2001 From: Shirley Fang Date: Fri, 13 Oct 2023 23:28:29 -0400 Subject: [PATCH] Update test.yml for pull-request and push --- .github/workflows/test.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 793c859..ae5f5b9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,9 +1,11 @@ name: Unit Test on: - push: - branches: - - 'main' + push: + branches-ignore: + - 'main' + - 'development' + pull_request: jobs: test: @@ -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/