Skip to content

Commit

Permalink
Tests don't trigger on pull requests (#146)
Browse files Browse the repository at this point in the history
* Update build.yml

* Update build.yml

* Update test.yml

* Use gradlew

* Update test.yml

* Update build.yml

* Update test.yml
  • Loading branch information
TheLimeGlass authored Oct 31, 2023
1 parent 838ed82 commit 6ef60fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build, Test & Upload

on:
push:
pull_request:
branches-ignore:
branches:
- master
pull_request:

jobs:
building:
Expand All @@ -26,10 +26,10 @@ jobs:
restore-keys: ${{ runner.os }}-gradle

- name: Build project
run: gradle build
run: ./gradlew build

- name: Run tests
run: gradle test
run: ./gradlew test

- name: Upload Nightly Build
uses: actions/upload-artifact@v2
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
pull_request:

jobs:
testing:
Expand All @@ -28,7 +29,7 @@ jobs:
restore-keys: ${{ runner.os }}-gradle

- name: Build skript-parser
run: gradle build
run: ./gradlew build

- name: Run tests
run: gradle test
run: ./gradlew test

0 comments on commit 6ef60fa

Please sign in to comment.