forked from JuliaAttic/OldGraphs.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 920 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: CI
on:
push:
branches: [stable]
tags: [v*]
pull_request:
jobs:
test:
name: Julia ${{ 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
# remove this after 2.0
- name: test package
run: julia --color=yes --project -e 'using Pkg; Pkg.test(coverage=true, julia_args=["--depwarn=no"])'
# uncomment after 2.0
# - uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-uploadcodecov@latest
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ matrix.julia-version == '1' && matrix.os =='ubuntu-latest' }}