-
Notifications
You must be signed in to change notification settings - Fork 69
38 lines (29 loc) · 1.08 KB
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Build Automation
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "*" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
#- uses: browser-actions/setup-geckodriver@latest
#- uses: browser-actions/setup-firefox@v1
#- run: geckodriver --version
#- run: firefox --version
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '11'
cache: maven
- name: Maven Install
run: mvn -Dmaven.test.skip=true clean install --batch-mode
- name: Maven tests
run: mvn -Djava.awt.headless=true -Dmaven.test.redirectTestOutputToFile=true --fail-at-end --batch-mode org.jacoco:jacoco-maven-plugin:prepare-agent test org.jacoco:jacoco-maven-plugin:report
# run: mvn -T 1C -Djava.awt.headless=true -Dmaven.test.redirectTestOutputToFile=true --fail-at-end --batch-mode org.jacoco:jacoco-maven-plugin:prepare-agent test org.jacoco:jacoco-maven-plugin:report install
- name: Codecov
uses: codecov/[email protected]