Skip to content

Commit e17f261

Browse files
update Github Workflow
1 parent 8ab2950 commit e17f261

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: actions/setup-java@v3
1313
with:
1414
java-version: '11'
15-
distribution: 'temurin' # Use Temurin distribution (formerly AdoptOpenJDK)
15+
distribution: 'temurin'
1616
- name: Cache Maven packages
1717
uses: actions/cache@v3
1818
with:
@@ -21,4 +21,7 @@ jobs:
2121
restore-keys: |
2222
${{ runner.os }}-m2
2323
- name: Build with Maven
24-
run: mvn -B clean test -P single
24+
run: mvn -B clean test -P parallel
25+
env:
26+
TB_KEY: ${{ secrets.TB_KEY }}
27+
TB_SECRET: ${{ secrets.TB_SECRET }}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Java CI with Maven](https://github.com/testingbot/java-junit-example/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/testingbot/java-junit-example/actions/workflows/test.yml)
2+
13
## TestingBot - Java & JUnit
24

35
TestingBot provides an online grid of browsers and mobile devices to run Automated tests on via Selenium WebDriver.

0 commit comments

Comments
 (0)