Skip to content

Commit d49fa9e

Browse files
authored
Update ci.yml GitHub action (#26)
1 parent 69d1391 commit d49fa9e

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,9 @@ jobs:
1313
- uses: julia-actions/setup-julia@latest
1414
with:
1515
version: '1'
16-
- uses: actions/checkout@v1
17-
- shell: bash
18-
env:
19-
WLSLICENSE: ${{ secrets.WLSLICENSE }}
20-
run: |
21-
mkdir -p /opt/gurobi
22-
echo "$WLSLICENSE" > /opt/gurobi/gurobi.lic
23-
- name: Install
24-
run: julia --project=. -e 'import Pkg; Pkg.instantiate()'
25-
- name: Test
16+
- uses: actions/checkout@v4
17+
- run: echo "${{ secrets.GUROBI_LICENSE }}" > ~/gurobi.lic
18+
- run: julia --project=. -e 'import Pkg; Pkg.instantiate()'
19+
- run: julia --project=. test/runtests.jl
2620
env:
2721
JULIA_CMD: julia
28-
run: julia --project=. test/runtests.jl

0 commit comments

Comments
 (0)