diff --git a/.github/workflows/jl_test.yml b/.github/workflows/jl_test.yml new file mode 100644 index 0000000..2e7823c --- /dev/null +++ b/.github/workflows/jl_test.yml @@ -0,0 +1,20 @@ +name: Run Julia tests + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + jl_version: ["1.4", "1.6", "1.8"] + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.jl_version }} + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + with: + annotate: true diff --git a/Project.toml b/Project.toml index a678f81..af4388a 100644 --- a/Project.toml +++ b/Project.toml @@ -36,8 +36,8 @@ JSON3 = "1.9" MD5 = "0.2" PlotlyBase = "0.8.5, 0.8.6" YAML = "0.4.7" -julia = "1.3" Requires = "1.3" +julia = "1.4" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/README.md b/README.md index 66cb538..c867e5c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Dash for Julia +[![Juila tests](https://github.com/plotly/Dash.jl/actions/workflows/jl_test.yml/badge.svg)](https://github.com/plotly/Dash.jl/actions/workflows/jl_test.yml) [![CircleCI](https://circleci.com/gh/plotly/Dash.jl/tree/master.svg?style=svg)](https://circleci.com/gh/plotly/Dash.jl/tree/master) [![GitHub](https://img.shields.io/github/license/plotly/dashR.svg?color=dark-green)](https://github.com/plotly/Dash.jl/blob/master/LICENSE) [![GitHub commit activity](https://img.shields.io/github/commit-activity/y/plotly/Dash.jl.svg?color=dark-green)](https://github.com/plotly/Dash.jl/graphs/contributors)