Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 46 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
workflow_dispatch:
jobs:
test-stable:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ matrix.group }}
name: JL${{ matrix.version }} - ${{ matrix.arch }} - ${{ matrix.group }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
JULIA_PKG_SERVER: ""
Expand All @@ -19,15 +19,13 @@ jobs:
version:
- '1.6'
- '1.8'
- 'nightly'
os:
- ubuntu-latest
arch:
- x64
group:
- 'basic_functional_group'
- 'test_cases_group'
- 'tmp_debug_group'
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
Expand All @@ -47,20 +45,58 @@ jobs:
fail_ci_if_error: false
if: ${{ matrix.version != 'nightly' }}

test-debug-group:
name: JL${{ matrix.version }} - ${{ matrix.group }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
JULIA_PKG_SERVER: ""
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
version:
- '1.8'
arch:
- x64
group:
- 'tmp_debug_group'
continue-on-error: true
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
IIF_TEST_GROUP: ${{ matrix.group }}

upstream-dev:
#if: github.ref != 'refs/heads/release**'
needs: [ test-debug-group ]
name: Upstream Dev
runs-on: ubuntu-latest
env:
JULIA_PKG_SERVER: ""
strategy:
fail-fast: false
matrix:
arch:
- x64
version:
- '1.8'
- 'nightly'
group:
- 'basic_functional_group'
- 'test_cases_group'
steps:
- uses: actions/checkout@v2

- uses: julia-actions/setup-julia@v1
with:
version: 1.7
arch: x64

version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
Expand All @@ -71,12 +107,12 @@ jobs:
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-

- run: |
git config --global user.name Tester
git config --global user.email te@st.er

- name: Upstream Dev
env:
IIF_TEST_GROUP: ${{ matrix.group }}
run: |
julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="ApproxManifoldProducts",rev="master"));'
julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="DistributedFactorGraphs",rev="master"));'
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ TEST_GROUP = get(ENV, "IIF_TEST_GROUP", "all")
#...
if TEST_GROUP in ["all", "tmp_debug_group"]
include("testMultiHypo3Door.jl")
include("priorusetest.jl")
end

if TEST_GROUP in ["all", "basic_functional_group"]
Expand Down Expand Up @@ -76,7 +77,6 @@ include("testEuclidDistance.jl")
end

if TEST_GROUP in ["all", "test_cases_group"]
include("priorusetest.jl")
include("testnullhypothesis.jl")
include("testVariousNSolveSize.jl")
include("testExplicitMultihypo.jl")
Expand Down