From 0edd38bd80d435e3301b5b69df2eab80bde280ac Mon Sep 17 00:00:00 2001 From: titusfortner Date: Tue, 17 Oct 2023 23:26:24 -0500 Subject: [PATCH] update JUnit4 CI --- .github/workflows/junit4.yml | 26 ++++++++++++-------------- selenium-junit4-examples/pom.xml | 2 +- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/junit4.yml b/.github/workflows/junit4.yml index f70d279e..89e7e5c4 100644 --- a/.github/workflows/junit4.yml +++ b/.github/workflows/junit4.yml @@ -22,18 +22,16 @@ jobs: run: git --no-pager diff --exit-code build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Java - uses: actions/setup-java@v1 - with: - java-version: 11 - - name: Run JUnit 4 Tests - env: - SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} - SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} - run: mvn test -pl selenium-junit4-examples -X + - uses: actions/checkout@v2 + - name: Set up Java + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Run JUnit 4 Tests + working-directory: ./selenium-junit4-examples + env: + SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} + SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} + run: mvn test diff --git a/selenium-junit4-examples/pom.xml b/selenium-junit4-examples/pom.xml index 9acb470d..eac37351 100644 --- a/selenium-junit4-examples/pom.xml +++ b/selenium-junit4-examples/pom.xml @@ -20,7 +20,7 @@ - 1 + 10 11 11 UTF-8