Skip to content

Commit

Permalink
Merge pull request #101 from terl/chore/fix-primary
Browse files Browse the repository at this point in the history
Reduce test gradle step
  • Loading branch information
gurpreet- authored Apr 3, 2021
2 parents d4b9157 + cdcc4ab commit 8ca27f8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/primary.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
name: Build and test
name: Checks

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
name: ${{ matrix.os }} check
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -14,8 +21,6 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: ./gradlew build
- name: Test
- name: Test with Gradle
run: ./gradlew test

5 changes: 4 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Gradle
# DEPRECATED.
# Azure Pipelines has been deprecated in favour of
# GitHub Actions. See the .github/workflows folder

# Build your Java project and run tests with Gradle using a Gradle wrapper script.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/java
Expand Down

0 comments on commit 8ca27f8

Please sign in to comment.