diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml index 8e89c061a5..c3141c46d1 100644 --- a/.github/workflows/ci_test.yml +++ b/.github/workflows/ci_test.yml @@ -7,9 +7,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: julia-actions/setup-julia@v1 with: - version: "1.6" + version: "1.9" - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 \ No newline at end of file diff --git a/.github/workflows/test_example.yml b/.github/workflows/test_example.yml new file mode 100644 index 0000000000..519cebb9d4 --- /dev/null +++ b/.github/workflows/test_example.yml @@ -0,0 +1,27 @@ +name: Test-example + +on: + push: + schedule: + - cron: 21 4 * * * # Run at 12:21am US Eastern time + +jobs: + test: + strategy: + matrix: + branch: ["main", "develop"] + version: ["1.8", "1.9"] + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ matrix.branch }} + - uses: julia-actions/cache@v1.2.2 + - uses: julia-actions/setup-julia@latest + with: + version: ${{ matrix.version }} + - uses: julia-actions/julia-buildpkg@v1 + - name: Test an example case + run: | + julia --project=. Example_Systems/SmallNewEngland/Simple_Test_Case/Run.jl \ No newline at end of file