From 0e2704d1042202fd8d88955ffd31329426427ed0 Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Sat, 9 Jan 2021 17:14:15 -0800 Subject: [PATCH] Add ChainRules integration test --- .../workflows/IntegrationTestChainRules.yml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/IntegrationTestChainRules.yml diff --git a/.github/workflows/IntegrationTestChainRules.yml b/.github/workflows/IntegrationTestChainRules.yml new file mode 100644 index 00000000..5b7d047a --- /dev/null +++ b/.github/workflows/IntegrationTestChainRules.yml @@ -0,0 +1,30 @@ +name: IntegrationTestChainRules +on: + push: + branches: [master] + tags: [v*] + pull_request: + +jobs: + test: + name: Julia v${{ matrix.julia-version }} - ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + julia-version: [1] + os: [ubuntu-latest] + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.julia-version }} + arch: x64 + - uses: julia-actions/julia-buildpkg@latest + - name: Clone ChainRules + uses: actions/checkout@v2 + with: + repository: JuliaDiff/ChainRules.jl + path: "ChainRules.jl" + - name: Run the tests + run: julia --project="ChainRules.jl" -e "using Pkg; Pkg.develop(PackageSpec(path=\"./\")); Pkg.update(); Pkg.test()" + shell: bash