Skip to content

Commit

Permalink
Split CI.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CiaranOMara committed Apr 16, 2023
1 parent 8e30c75 commit 196cee3
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 53 deletions.
53 changes: 0 additions & 53 deletions .github/workflows/CI.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/Documentation.yml
@@ -0,0 +1,23 @@
name: Documentation
on:
push:
branches:
- master
- develop
- release/*
tags: '*'
pull_request:

jobs:
Documenter:
permissions:
contents: write
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
48 changes: 48 additions & 0 deletions .github/workflows/UnitTests.yml
@@ -0,0 +1,48 @@
name: CI
on:
pull_request:
push:
branches: [master]
tags: ['*']
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.version == 'nightly' }}
strategy:
fail-fast: false
matrix:
version:
- '0.7'
- '1.6'
- '1' # automatically expands to the latest stable 1.x release of Julia
- 'nightly'
os:
- ubuntu-latest
arch:
- x64
include:
- os: windows-latest
version: '1'
arch: x86
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Julia
uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- name: Run Tests
uses: julia-actions/julia-runtest@v1
env:
JULIA_NUM_THREADS: 4
- name: Create CodeCov
uses: julia-actions/julia-processcoverage@v1
- name: Upload CodeCov
uses: codecov/codecov-action@v1
with:
file: ./lcov.info
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 196cee3

Please sign in to comment.