Skip to content

Instantly share code, notes, and snippets.

@borodicht
Created December 9, 2024 17:49
Show Gist options
  • Save borodicht/16bf9bf3d52d474c2907f0b40ae21f6e to your computer and use it in GitHub Desktop.
Save borodicht/16bf9bf3d52d474c2907f0b40ae21f6e to your computer and use it in GitHub Desktop.
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Runner tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- uses: abhi1693/[email protected]
with:
browser: firefox
version: latest
- name: Test run
run: mvn clean test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment