Skip to content

Commit 288bfcc

Browse files
committed
Use ParallelTestRunner.jl to parallelize the tests
1 parent 05cb226 commit 288bfcc

135 files changed

Lines changed: 12 additions & 200 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,11 @@ permissions:
1717
contents: read
1818
jobs:
1919
test:
20-
name: Julia ${{ matrix.machine.version }} - ${{ matrix.machine.os }}-${{ matrix.machine.arch }} - ${{ matrix.moi_test_modules }}
20+
name: Julia ${{ matrix.machine.version }} - ${{ matrix.machine.os }}-${{ matrix.machine.arch }}
2121
runs-on: ${{ matrix.machine.os }}
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
moi_test_modules:
26-
- 'General;Benchmarks;FileFormats;Nonlinear'
27-
- 'Bridges'
28-
- 'Bridges/Constraint;Bridges/Objective;Bridges/Variable'
29-
- 'Test'
30-
- 'Utilities'
3125
machine:
3226
- version: 'nightly'
3327
os: ubuntu-latest
@@ -66,8 +60,6 @@ jobs:
6660
depwarn: error
6761
allow_reresolve: ${{ !matrix.machine.downgrade }}
6862
force_latest_compatible_version: ${{ !matrix.machine.downgrade }}
69-
env:
70-
MOI_TEST_MODULES: ${{ matrix.moi_test_modules }}
7163
- uses: julia-actions/julia-processcoverage@v1
7264
- uses: codecov/codecov-action@v4
7365
with:

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ LinearAlgebra = "1"
2929
MutableArithmetics = "1"
3030
NaNMath = "0.3, 1"
3131
OrderedCollections = "1"
32+
ParallelTestRunner = "2.1.0"
3233
PrecompileTools = "1"
3334
Printf = "1"
3435
SparseArrays = "1"
@@ -38,6 +39,7 @@ julia = "1.10"
3839

3940
[extras]
4041
JSONSchema = "7d188eb4-7ad8-530c-ae41-71a32a6d4692"
42+
ParallelTestRunner = "d3525ed8-44d0-4b2c-a655-542cee43accc"
4143

4244
[targets]
43-
test = ["JSONSchema"]
45+
test = ["JSONSchema", "ParallelTestRunner"]

test/Bridges/Constraint/runtests.jl

Lines changed: 0 additions & 14 deletions
This file was deleted.

test/Bridges/Constraint/AllDifferentToCountDistinctBridge.jl renamed to test/Bridges/Constraint/test_AllDifferentToCountDistinctBridge.jl

File renamed without changes.
File renamed without changes.
File renamed without changes.

test/Bridges/Constraint/ComplexNormInfinityToSecondOrderConeBridge.jl renamed to test/Bridges/Constraint/test_ComplexNormInfinityToSecondOrderConeBridge.jl

File renamed without changes.

test/Bridges/Constraint/CountAtLeastToCountBelongsBridge.jl renamed to test/Bridges/Constraint/test_CountAtLeastToCountBelongsBridge.jl

File renamed without changes.

test/Bridges/Constraint/CountBelongsToMILPBridge.jl renamed to test/Bridges/Constraint/test_CountBelongsToMILPBridge.jl

File renamed without changes.

0 commit comments

Comments
 (0)