diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..3e69748 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,18 @@ +version: 2 + +enable-beta-ecosystems: true + +updates: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "julia" # See documentation for possible values +# # To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + directory: "/" # Location of package manifests + schedule: + interval: "weekly" diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml new file mode 100644 index 0000000..6d2efc1 --- /dev/null +++ b/.github/workflows/TagBot.yml @@ -0,0 +1,17 @@ +name: TagBot + +on: + issue_comment: + types: + - created + workflow_dispatch: + +jobs: + TagBot: + if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' + runs-on: ubuntu-latest + steps: + - uses: JuliaRegistries/TagBot@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + ssh: ${{ secrets.DOCUMENTER_KEY }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e69de29..31336f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -0,0 +1,40 @@ +name: CI + +on: + pull_request: + branches: + - main + push: + branches: + - main + tags: '*' + +# Needed to allow julia-actions/cache to delete old caches that it has created +permissions: + actions: write + contents: read + +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + version: ['1.10', '1'] + os: [ubuntu-latest, windows-latest] + arch: [x64] + steps: + - uses: actions/checkout@v7 + - uses: julia-actions/setup-julia@v3 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: julia-actions/cache@v3 + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v7 + with: + files: lcov.info + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/LICENSE b/LICENSE.md similarity index 91% rename from LICENSE rename to LICENSE.md index 8738f4f..6c6233c 100644 --- a/LICENSE +++ b/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2026 Process Systems and Operations Research Laboratory +Copyright (c) 2026 Robert X. Gottlieb, Matthew D. Stuber, and the University of Connecticut (UConn) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Project.toml b/Project.toml index 900f979..68c0f9b 100644 --- a/Project.toml +++ b/Project.toml @@ -21,11 +21,17 @@ BatchPDLP = "0.1" CUDA = "5 - 6" DocStringExtensions = "0.9" EAGO = "0.9" -GLPK = "1.2" -LinearAlgebra = "1.11" +GLPK = "1" +LinearAlgebra = "1" MathOptInterface = "1" MultiFloats = "3" -Printf = "1.11.0" +Printf = "1" Sobol = "1" SourceCodeMcCormick = "0.5" -julia = "1.10 - 1.12" +julia = "1.10" + +[extras] +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[targets] +test = ["Test"] diff --git a/test/runtests.jl b/test/runtests.jl new file mode 100644 index 0000000..78eaa68 --- /dev/null +++ b/test/runtests.jl @@ -0,0 +1,2 @@ +using ARION +using Test