change matrix
This commit is contained in:
parent
e23d7c9882
commit
e92029cc4c
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -28,11 +28,14 @@ jobs:
|
|||||||
- 'nightly'
|
- 'nightly'
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- windows-latest
|
|
||||||
- macos-latest
|
|
||||||
arch:
|
arch:
|
||||||
- x64
|
- x64
|
||||||
# - x86
|
# - x86
|
||||||
|
include:
|
||||||
|
version: '1'
|
||||||
|
os:
|
||||||
|
- windows-latest
|
||||||
|
- macos-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Setup environment
|
# Setup environment
|
||||||
@ -64,7 +67,6 @@ jobs:
|
|||||||
|
|
||||||
# TESTCMD
|
# TESTCMD
|
||||||
- name: Default TESTCMD
|
- name: Default TESTCMD
|
||||||
if: "${{matrix.version}} == '1' || (${{matrix.version}} != '1' && ${{matrix.os}} == 'ubuntu-latest')"
|
|
||||||
run: echo "TESTCMD=julia" >> $GITHUB_ENV
|
run: echo "TESTCMD=julia" >> $GITHUB_ENV
|
||||||
- name: Ubuntu TESTCMD
|
- name: Ubuntu TESTCMD
|
||||||
if: startsWith(matrix.os,'ubuntu')
|
if: startsWith(matrix.os,'ubuntu')
|
||||||
@ -73,11 +75,9 @@ jobs:
|
|||||||
# Julia Dependencies
|
# Julia Dependencies
|
||||||
- name: Install Julia dependencies
|
- name: Install Julia dependencies
|
||||||
uses: julia-actions/julia-buildpkg@latest
|
uses: julia-actions/julia-buildpkg@latest
|
||||||
if: "${{matrix.version}} == '1' || (${{matrix.version}} != '1' && ${{matrix.os}} == 'ubuntu-latest')"
|
|
||||||
|
|
||||||
# Run tests
|
# Run tests
|
||||||
- name: Run Graphical test
|
- name: Run Graphical test
|
||||||
if: "${{matrix.version}} == '1' || (${{matrix.version}} != '1' && ${{matrix.os}} == 'ubuntu-latest')"
|
|
||||||
run: |
|
run: |
|
||||||
$TESTCMD --project -e 'using Pkg; Pkg.test(coverage=true)'
|
$TESTCMD --project -e 'using Pkg; Pkg.test(coverage=true)'
|
||||||
$TESTCMD -e 'using Pkg; Pkg.activate(tempdir()); Pkg.develop(path=abspath(".")); Pkg.add("StatsPlots"); Pkg.test("StatsPlots")'
|
$TESTCMD -e 'using Pkg; Pkg.activate(tempdir()); Pkg.develop(path=abspath(".")); Pkg.add("StatsPlots"); Pkg.test("StatsPlots")'
|
||||||
@ -85,9 +85,7 @@ jobs:
|
|||||||
|
|
||||||
# Codecov
|
# Codecov
|
||||||
- uses: julia-actions/julia-processcoverage@v1
|
- uses: julia-actions/julia-processcoverage@v1
|
||||||
if: "${{matrix.version}} == '1'"
|
|
||||||
- uses: codecov/codecov-action@v2
|
- uses: codecov/codecov-action@v2
|
||||||
if: "${{matrix.version}} == '1'"
|
|
||||||
with:
|
with:
|
||||||
file: lcov.info
|
file: lcov.info
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user