diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 660df3d..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Build - -on: pull_request - -jobs: - build: - name: Check project build - runs-on: ubuntu-latest - steps: - - name: Check out code - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v2 - with: - distribution: adopt - java-version: 11 - - # Builds the release artifacts of the library - - name: Build - run: ./gradlew assemble - - # Generates other artifacts (javadocJar is optional) - - name: Source jar and dokka - run: ./gradlew androidSourcesJar javadocJar diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 48d4f91..6ea11f7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,6 +4,7 @@ on: pull_request: branches: - master + - develop jobs: build: @@ -17,7 +18,10 @@ jobs: with: distribution: adopt java-version: 11 + # Builds the release artifacts + - name: Build project + run: ./gradlew assemble - # Builds the release artifacts of the library - - name: Test + # Run tests + - name: Run tests run: ./gradlew test