Skip to content

Commit

Permalink
Added to also test push to branch
Browse files Browse the repository at this point in the history
  • Loading branch information
chiroito committed May 12, 2023
1 parent ab247a7 commit 8e9647c
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@
#act -W .github/workflows/build-test.yml
name: build and test

on: [pull_request]
on: [ pull_request, push ]

jobs:
# nektos/act does not support Reusable workflow and does not use Reusable workflow for development productivity
# nektos/act does not support Reusable workflow and does not use Reusable workflow for development productivity
jvm-test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
java-package: 'jdk'
cache: maven

- name: Test with Maven on JVM
run: bash bin/test.sh
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
java-package: 'jdk'
cache: maven

- name: Test with Maven on JVM
run: bash bin/test.sh

native-test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8e9647c

Please sign in to comment.