Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed May 25, 2021
1 parent 97a80a5 commit 9157879
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ MathOptInterface = "~0.9.19"
julia = "1"

[extras]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Random", "SparseArrays", "Test"]
test = ["Pkg", "Random", "SparseArrays", "Test"]
5 changes: 5 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
if get(ENV, "GITHUB_ACTIONS", "") == "true"
import Pkg
Pkg.add(Pkg.PackageSpec(name = "MathOptInterface", rev = "master"))
end

using GLPK
using Test

Expand Down

0 comments on commit 9157879

Please sign in to comment.