Skip to content

Commit

Permalink
Add common tag to test
Browse files Browse the repository at this point in the history
  • Loading branch information
YaSuenag committed Mar 27, 2023
1 parent 3a7e0dd commit 99c38e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
public class CodeSegmentTest{

@Test
@Tag("common")
@Tag("linux")
public void testAllocateCodeSegmentWithDefaultSize(){
try(var seg = new CodeSegment()){
Expand All @@ -55,6 +56,7 @@ public void testAllocateCodeSegmentWithDefaultSize(){
}

@Test
@Tag("common")
@Tag("linux")
public void testAllocateCodeSegmentWithGivenSize(){
final long size = 8192L;
Expand All @@ -81,6 +83,7 @@ public void testAllocateCodeSegmentWithGivenSize(){
}

@Test
@Tag("common")
@Tag("linux")
public void testAlignment(){
try(var seg = new CodeSegment()){
Expand Down

0 comments on commit 99c38e8

Please sign in to comment.