commit
d98481fca8
45
.github/workflows/ci.yml
vendored
45
.github/workflows/ci.yml
vendored
@ -11,25 +11,58 @@ defaults:
|
||||
jobs:
|
||||
CI:
|
||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
||||
|
||||
env:
|
||||
GKS_ENCODING: "utf8"
|
||||
|
||||
name: Julia ${{ matrix.julia_version }} - ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
continue-on-error: ${{ matrix.allow-failure }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
julia_version:
|
||||
- '1.3'
|
||||
# - '1' (is included automatically)
|
||||
- 'nightly'
|
||||
- '1'
|
||||
- '1.0'
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
- macos-latest
|
||||
arch:
|
||||
- x64
|
||||
# - x32
|
||||
# - x86
|
||||
allow-failure: [false]
|
||||
include:
|
||||
## allow failures on nightly
|
||||
- version: 'nightly'
|
||||
os: ubuntu-latest
|
||||
arch: x64
|
||||
allow-failure: true
|
||||
- version: 'nightly'
|
||||
os: macOS-latest
|
||||
arch: x64
|
||||
allow-failure: true
|
||||
- version: 'nightly'
|
||||
os: windows-latest
|
||||
arch: x64
|
||||
allow-failure: true
|
||||
## allow failures for julia 1.3 windows (test_images work but differ)
|
||||
- version: '1.3'
|
||||
os: windows-latest
|
||||
arch: x64
|
||||
allow-failure: true
|
||||
## if we want to run tests on x86:
|
||||
# - version: 'nightly'
|
||||
# os: ubuntu-latest
|
||||
# arch: x86
|
||||
# allow-failure: true
|
||||
# - version: 'nightly'
|
||||
# os: windows-latest
|
||||
# arch: x86
|
||||
# allow-failure: true
|
||||
# exclude:
|
||||
# - os: macOS-latest
|
||||
# arch: x86
|
||||
steps:
|
||||
|
||||
# Setup environment
|
||||
@ -49,15 +82,13 @@ jobs:
|
||||
${{ runner.os }}-test-
|
||||
${{ runner.os }}-
|
||||
|
||||
## maybe required if we ever want to run graphical tests for plotly
|
||||
# OS Dependencies
|
||||
# - name: Ubuntu OS dependencies
|
||||
# if: startsWith(matrix.os,'ubuntu')
|
||||
# run: |
|
||||
# ./test/install_wkhtmltoimage.sh
|
||||
|
||||
# at-spi2-core, libgtk-3-dev, libgtk-3-0, and xvfb are already installed: https://github.com/actions/virtual-environments/blob/master/images/linux/scripts/installers/basic.sh
|
||||
|
||||
|
||||
# TESTCMD
|
||||
- name: Default TESTCMD
|
||||
run: echo ::set-env name=TESTCMD::"julia"
|
||||
|
||||
@ -51,7 +51,7 @@ Requires = "1"
|
||||
Showoff = "0.3.1"
|
||||
StableRNGs = "0.1.1"
|
||||
StatsBase = "0.32, 0.33"
|
||||
julia = "1"
|
||||
julia = "1.3"
|
||||
|
||||
[extras]
|
||||
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user