Skip to content

Commit

Permalink
Merge pull request #39 from fingolfin/mh/gh-actions
Browse files Browse the repository at this point in the history
Add GitHub Actions based CI
  • Loading branch information
giordano authored May 16, 2023
2 parents 0e3daf6 + 3c0fc77 commit 5cb2536
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CI

on:
push:
branches: "master"
tags: ["*"]
pull_request:
release:

jobs:
test:
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
julia-version:
- "1.0"
- "1"
- "nightly"
os:
- ubuntu-latest
- macos-latest
- windows-latest
julia-arch:
- x64
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3

# Documentation:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: julia-actions/setup-julia@latest
# with:
# version: 1
# - uses: julia-actions/cache@v1
# with:
# cache-registries: "true"
# - uses: julia-actions/julia-docdeploy@releases/v1
# env:
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

0 comments on commit 5cb2536

Please sign in to comment.