starting bins must be Vector of Ints #2436
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: Run tests | |
on: | |
push: | |
paths-ignore: [README.md, CHANGELOG.md] | |
pull_request: | |
types: [opened, reopened, ready_for_review] | |
jobs: | |
highstests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
julia-version: ['1.8'] | |
julia-arch: [x64] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: ${{ matrix.julia-version }} | |
- uses: julia-actions/julia-buildpkg@latest | |
# - uses: mxschmitt/action-tmate@v3 # for interactive debugging | |
- run: julia --project=. -e 'using Pkg; Pkg.activate("test"); Pkg.rm("Xpress"); Pkg.activate("."); using TestEnv; TestEnv.activate(); cd("test"); include("runtests.jl")' | |
shell: bash | |
xpresstests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Decrypt | |
env: | |
TRANSCRYPT_PASSWORD: ${{ secrets.TRANSCRYPT_PASSWORD }} | |
run: ./.github/scripts/decrypt.sh | |
- name: Build containers | |
run: docker-compose up -d | |
- name: Execute tests in container | |
run: docker exec jul julia --project=. -e 'import Pkg; Pkg.test("REopt"; test_args=["Xpress"])' |