Skip to content

Fixing issues between JuMP and GLPK #29

Fixing issues between JuMP and GLPK

Fixing issues between JuMP and GLPK #29

Workflow file for this run

name: CI
# Run on master, tags, or any pull request
on:
push:
branches: [master]
tags: ["*"]
pull_request:
jobs:
# unit tests with coverage
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- "1.6" # minimum version
- "1" # Latest Release
os:
- ubuntu-latest
arch:
- x64
steps:
# check out the project and install Julia
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
# using a cache can speed up execution times
- uses: actions/cache@v2
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-
${{ runner.os }}-${{ matrix.arch }}-test-
${{ runner.os }}-${{ matrix.arch }}-
${{ runner.os }}-
# build the depencies, run the tests, and upload coverage results
- uses: julia-actions/julia-buildpkg@latest
- run: |
julia --color=yes --project=@. -e 'import Pkg; using Pkg; Pkg.add("PlotlyKaleido")'
git config --global user.name Tester
git config --global user.email [email protected]
- name: Run Tests
uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: ./lcov.info
flags: unittests
name: codecov-umbrella