From af47bb4f49471619b9d74bdb0c33218bb2d7f3f5 Mon Sep 17 00:00:00 2001 From: Steve Hannah Date: Sun, 29 Oct 2023 07:44:22 -0700 Subject: [PATCH] Fixed unit tests in workflow --- .github/workflows/pr.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index c59e722205..0844c42cfe 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -20,6 +20,11 @@ jobs: with: java-version: 1.8 java-package: jdk+fx + - name: Run Unit Tests + run: | + cd maven + mvn clean verify -DunitTests=true -pl core-unittests -am -Dmaven.javadoc.skip=true + cd .. - name: Install dependencies run: | sudo apt-get update && sudo apt-get install xvfb @@ -28,11 +33,6 @@ jobs: mv ../cn1-binaries-master ../cn1-binaries - name: Build with Ant run: xvfb-run ant test-javase - - name: Run Unit Tests - run: | - cd CodenameOne/maven - mvn clean verify -DunitTests=true -pl core-unittests -am -Dmaven.javadoc.skip=true - cd ../.. - name: Build CLDC11 JAR run: ant -noinput -buildfile Ports/CLDC11/build.xml jar