Skip to content

Commit

Permalink
Build GenX and run example case nightly (#529)
Browse files Browse the repository at this point in the history
Add Test-example job to run example case nightly on both `main` and `develop` branches.

---------

Co-authored-by: Jacob Schwartz <[email protected]>
  • Loading branch information
gschivley and cfe316 authored Aug 21, 2023
1 parent 386ff57 commit 4faa35f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
27 changes: 27 additions & 0 deletions .github/workflows/test_example.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
- 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

0 comments on commit 4faa35f

Please sign in to comment.