Clarify how to set options in README (#436) #166
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
name: CPLEX${{ matrix.cplex_version}} Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ['1.6', '1'] # Test against LTS and current minor release | |
os: [ubuntu-latest] | |
arch: [x64] | |
cplex_version: ['12100', '2010', '2210'] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: actions/cache@v1 | |
env: | |
cache-name: cache-artifacts | |
with: | |
path: ~/.julia/artifacts | |
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
restore-keys: | | |
${{ runner.os }}-test-${{ env.cache-name }}- | |
${{ runner.os }}-test- | |
${{ runner.os }}- | |
- uses: julia-actions/julia-buildpkg@v1 | |
env: | |
SECRET_CPLEX_URL_12100: ${{ secrets.CPLEX_URL_12100 }} | |
SECRET_CPLEX_URL_2010: ${{ secrets.CPLEX_URL_2010 }} | |
SECRET_CPLEX_URL_2210: ${{ secrets.SECRET_CPLEX_URL_2210 }} | |
CPLEX_VERSION: ${{ matrix.cplex_version }} | |
- uses: julia-actions/julia-runtest@v1 | |
- uses: julia-actions/julia-processcoverage@v1 | |
- uses: codecov/codecov-action@v1 | |
with: | |
file: lcov.info |