This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
turn off auto-idle by default on Windows #258
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: "master" | |
tags: ["*"] | |
pull_request: | |
release: | |
jobs: | |
test: | |
name: Julia ${{ join(matrix.*, ' - ') }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
julia-version: | |
- "1.6" | |
- "1" | |
- "nightly" | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
julia-arch: | |
- x64 | |
- x86 | |
include: | |
- os: ubuntu-latest | |
prefix: xvfb-run | |
# 32-bit Julia binaries are not available on macOS | |
exclude: | |
- os: macOS-latest | |
julia-arch: x86 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.julia-version }} | |
arch: ${{ matrix.julia-arch }} | |
- name: Cache artifacts | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-artifacts | |
with: | |
path: ~/.julia/artifacts | |
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
restore-keys: | | |
${{ runner.os }}-test-${{ env.cache-name }}- | |
${{ runner.os }}-test- | |
${{ runner.os }}- | |
- uses: julia-actions/julia-buildpkg@latest | |
- uses: julia-actions/julia-runtest@v1 | |
with: | |
prefix: ${{ matrix.prefix }} | |
- uses: julia-actions/julia-processcoverage@v1 | |
- uses: codecov/codecov-action@v1 | |
with: | |
file: lcov.info | |
- uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.github_token }} | |
path-to-lcov: lcov.info | |
flag-name: Julia ${{ join(matrix.*, ' - ') }} | |
parallel: true | |
finish: | |
needs: test | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls Finished | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.github_token }} | |
parallel-finished: true | |
Documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: 1 | |
- name: Cache artifacts | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-artifacts | |
with: | |
path: ~/.julia/artifacts | |
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/docs/Project.toml') }} | |
restore-keys: | | |
${{ runner.os }}-test-${{ env.cache-name }}- | |
${{ runner.os }}-test- | |
${{ runner.os }}- | |
- uses: julia-actions/julia-docdeploy@v1 | |
with: | |
prefix: xvfb-run | |
env: | |
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |