Skip to content

Commit 081fc34

Browse files
committed
Enable CI builds on multiple OS platforms and reduce iteration count in ScijavaContextTest to 500.
1 parent 9c56fd8 commit 081fc34

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ on:
1212

1313
jobs:
1414
build:
15-
runs-on: ubuntu-latest
16-
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
matrix:
18+
os: [ ubuntu-latest, windows-latest, macos-latest ]
1719
steps:
1820
- uses: actions/checkout@v2
1921
- name: Set up Java

src/test/java/sc/fiji/ScijavaContextTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class ScijavaContextTest
99
@Test
1010
void testContext()
1111
{
12-
for ( int i = 0; i < 10_000; i++ )
12+
for ( int i = 0; i < 500; i++ )
1313
try (org.scijava.Context context = new org.scijava.Context())
1414
{
1515

0 commit comments

Comments
 (0)