Skip to content

Update versions in GitHub actions (#447) #182

Update versions in GitHub actions (#447)

Update versions in GitHub actions (#447) #182

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
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@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- 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@v4
with:
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}