Skip to content

Commit

Permalink
Test macOS on pull requests and master
Browse files Browse the repository at this point in the history
Use the same GitHub Action to test PRs and master branch. This will avoid failing tests sneaking into master.
  • Loading branch information
adam-enko committed Aug 5, 2024
1 parent 879c277 commit a92b8e5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 38 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
name: Test [thorough]
name: Gradle Tests

on:
pull_request:
workflow_dispatch:
push:
branches:
- master

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
# Cancel if there is a new update only on pull requests
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
test-matrix:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
javaVersion: [ 8, 11, 17, 21 ]
fail-fast: false
# Enable fail-fast on pull requests, to avoid clogging up CI
fail-fast: ${{ github.event_name == 'pull_request' }}
runs-on: ${{ matrix.os }}
steps:
- name: Set longpaths support for Windows
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/tests-smoke.yml

This file was deleted.

0 comments on commit a92b8e5

Please sign in to comment.