Skip to content

Commit

Permalink
Merge pull request #118 from SciML/ChrisRackauckas-patch-1
Browse files Browse the repository at this point in the history
Test new CI script?
  • Loading branch information
ChrisRackauckas authored Apr 6, 2022
2 parents 78c813a + 0e8a484 commit 1186046
Showing 1 changed file with 12 additions and 24 deletions.
36 changes: 12 additions & 24 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
name: CI
on:
- push
pull_request:
branches:
- main
push:
branches:
- main
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
matrix:
group:
- All
version:
- '1'
- '1.6'
os:
- ubuntu-latest
arch:
- x64
group:
- Core
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
Expand All @@ -38,18 +37,7 @@ jobs:
- uses: codecov/codecov-action@v1
with:
file: lcov.info
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
- uses: coverallsapp/github-action@master
with:
version: '1'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
run: julia --project=docs/ docs/make.jl
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./lcov.info

0 comments on commit 1186046

Please sign in to comment.