-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (34 loc) · 860 Bytes
/
tests.yaml
File metadata and controls
36 lines (34 loc) · 860 Bytes
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
name: tests
on:
push:
branches:
- master
pull_request:
env:
USING_SELENIUM_HUB: true
jobs:
Test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Prepare browser
run: |
docker pull selenium/hub:latest
docker pull selenium/node-chrome
docker run -d -p 4444:4444 --name selenium-hub selenium/hub
docker run -d --link selenium-hub:hub selenium/node-chrome
- name: Build with Maven
run: mvn compiler:compile
- name: Test
run: mvn test
- name: Generate report
run: mvn allure:report
- uses: actions/upload-artifact@v2
with:
name: allure-report
path: target/site