From 99c38e8732b7dbca0f29cc8d2999ade5907076a7 Mon Sep 17 00:00:00 2001 From: Yasumasa Suenaga Date: Mon, 27 Mar 2023 22:30:04 +0900 Subject: [PATCH] Add common tag to test --- .github/workflows/ci.yml | 2 +- .../java/com/yasuenag/ffmasm/test/linux/CodeSegmentTest.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef1397f..d8041c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,4 +26,4 @@ jobs: jdk-ver: 20 - name: 'Run Maven' - run: mvn -B -Dgroups="${{ env.TARGET_OS }} & amd64" package + run: mvn -B -Dgroups="(${{ env.TARGET_OS }} & amd64) | (${{ env.TARGET_OS }} & common)" package diff --git a/src/test/java/com/yasuenag/ffmasm/test/linux/CodeSegmentTest.java b/src/test/java/com/yasuenag/ffmasm/test/linux/CodeSegmentTest.java index 19cea18..565e70d 100644 --- a/src/test/java/com/yasuenag/ffmasm/test/linux/CodeSegmentTest.java +++ b/src/test/java/com/yasuenag/ffmasm/test/linux/CodeSegmentTest.java @@ -31,6 +31,7 @@ public class CodeSegmentTest{ @Test + @Tag("common") @Tag("linux") public void testAllocateCodeSegmentWithDefaultSize(){ try(var seg = new CodeSegment()){ @@ -55,6 +56,7 @@ public void testAllocateCodeSegmentWithDefaultSize(){ } @Test + @Tag("common") @Tag("linux") public void testAllocateCodeSegmentWithGivenSize(){ final long size = 8192L; @@ -81,6 +83,7 @@ public void testAllocateCodeSegmentWithGivenSize(){ } @Test + @Tag("common") @Tag("linux") public void testAlignment(){ try(var seg = new CodeSegment()){