From 9040c8e030b13a19933f8efebe6db67e5e72ee22 Mon Sep 17 00:00:00 2001 From: dfridovi Date: Wed, 13 Nov 2024 17:20:30 -0600 Subject: [PATCH] adding skeleton --- .JuliaFormatter.toml | 6 ++++++ .github/workflows/test.yml | 23 +++++++++++++++++++++++ Project.toml | 16 ++++++++++++++++ src/MCPSolver.jl | 5 +++++ test/Project.toml | 3 +++ test/runtests.jl | 4 ++++ 6 files changed, 57 insertions(+) create mode 100644 .JuliaFormatter.toml create mode 100644 .github/workflows/test.yml create mode 100644 Project.toml create mode 100644 src/MCPSolver.jl create mode 100644 test/Project.toml create mode 100644 test/runtests.jl diff --git a/.JuliaFormatter.toml b/.JuliaFormatter.toml new file mode 100644 index 0000000..1c6404b --- /dev/null +++ b/.JuliaFormatter.toml @@ -0,0 +1,6 @@ +margin = 90 +always_for_in = true +import_to_using = true +remove_extra_newlines = true +whitespace_typedefs = false +whitespace_ops_in_indices = true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..acaec05 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: test +on: [push] +jobs: + tests: + name: test + runs-on: ${{ matrix.os }} + env: + PATH_LICENSE_STRING: "2830898829&Courtesy&&&USR&45321&5_1_2021&1000&PATH&GEN&31_12_2025&0_0_0&6000&0_0" + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + arch: + - x64 + steps: + - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v1 + - uses: julia-actions/cache@v1 + - uses: julia-actions/julia-runtest@v1 + with: + prefix: "xvfb-run" diff --git a/Project.toml b/Project.toml new file mode 100644 index 0000000..0c2d34b --- /dev/null +++ b/Project.toml @@ -0,0 +1,16 @@ +name = "MCPSolver" +uuid = "6c9e26cb-9263-41b8-a6c6-f4ca104ccdcd" +authors = ["David Fridovich-Keil "] +version = "0.1.0" + +[deps] +BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e" +DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" +Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7" +TrajectoryGamesBase = "ac1ac542-73eb-4349-ae1b-660ab3609574" + +[compat] +BlockArrays = "0.16.43" +DataStructures = "0.18.20" +Symbolics = "6.19.0" +TrajectoryGamesBase = "0.3.10" diff --git a/src/MCPSolver.jl b/src/MCPSolver.jl new file mode 100644 index 0000000..52be104 --- /dev/null +++ b/src/MCPSolver.jl @@ -0,0 +1,5 @@ +module MCPSolver + +greet() = print("Hello World!") + +end # module MCPSolver diff --git a/test/Project.toml b/test/Project.toml new file mode 100644 index 0000000..7a21f89 --- /dev/null +++ b/test/Project.toml @@ -0,0 +1,3 @@ +[deps] +Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/test/runtests.jl b/test/runtests.jl new file mode 100644 index 0000000..e0fd534 --- /dev/null +++ b/test/runtests.jl @@ -0,0 +1,4 @@ +using Test +using MCPSolver + +@test true