gradle-build-action/.github/workflows/prod.yml
Daz DeBoer 643092d2fc Ensure that test invocations are targeted at a specific use-case
- Remove the 'gradle --stop' step from the prod workflow.
  We either need to stop all instances started, or rely on GitHub to clean up processes on completion.
- Remove configuration-cache and dependencies-cache from basic tests. We will later need to add
  tests invocations specific for these features.
2021-07-06 13:29:55 -06:00

33 lines
812 B
YAML

# make sure the action works on a clean machine without building
name: prod
on:
pull_request:
push:
jobs:
check:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Test use Gradle wrapper
uses: ./
with:
build-root-directory: __tests__/data/basic
arguments: test
- name: Test custom wrapper location
uses: ./
with:
build-root-directory: __tests__/data/basic
wrapper-directory: __tests__/data/basic
arguments: test
- name: Test use defined Gradle version
uses: ./
with:
gradle-version: rc
build-root-directory: __tests__/data/basic
arguments: test