Skip to content

Commit cc41e9f

Browse files
authored
Merge pull request #14 from YingboMa/myb/gh
GitHub action
2 parents 3a0832c + 718e977 commit cc41e9f

File tree

5 files changed

+41
-34
lines changed

5 files changed

+41
-34
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,16 @@
11
name: CompatHelper
2-
32
on:
43
schedule:
5-
- cron: '00 * * * *'
6-
issues:
7-
types: [opened, reopened]
8-
4+
- cron: 0 0 * * *
5+
workflow_dispatch:
96
jobs:
10-
build:
11-
runs-on: ${{ matrix.os }}
12-
strategy:
13-
matrix:
14-
julia-version: [1.2.0]
15-
julia-arch: [x86]
16-
os: [ubuntu-latest]
7+
CompatHelper:
8+
runs-on: ubuntu-latest
179
steps:
18-
- uses: julia-actions/setup-julia@latest
19-
with:
20-
version: ${{ matrix.julia-version }}
2110
- name: Pkg.add("CompatHelper")
2211
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
2312
- name: CompatHelper.main()
2413
env:
2514
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
2616
run: julia -e 'using CompatHelper; CompatHelper.main()'

.github/workflows/TagBot.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
name: TagBot
22
on:
33
schedule:
4-
- cron: 0 * * * *
4+
- cron: 0 0 * * *
5+
workflow_dispatch:
56
jobs:
67
TagBot:
78
runs-on: ubuntu-latest
89
steps:
910
- uses: JuliaRegistries/TagBot@v1
1011
with:
1112
token: ${{ secrets.GITHUB_TOKEN }}
13+
ssh: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
push:
7+
branches:
8+
- master
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: julia-actions/setup-julia@v1
15+
with:
16+
version: 1
17+
- uses: actions/cache@v1
18+
env:
19+
cache-name: cache-artifacts
20+
with:
21+
path: ~/.julia/artifacts
22+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
23+
restore-keys: |
24+
${{ runner.os }}-test-${{ env.cache-name }}-
25+
${{ runner.os }}-test-
26+
${{ runner.os }}-
27+
- uses: julia-actions/julia-buildpkg@v1
28+
- uses: julia-actions/julia-runtest@v1
29+
- uses: julia-actions/julia-processcoverage@v1
30+
- uses: codecov/codecov-action@v1
31+
with:
32+
file: lcov.info

.travis.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RecursiveFactorization
22

3-
[![Build Status](https://travis-ci.org/YingboMa/RecursiveFactorization.jl.svg?branch=master)](https://travis-ci.org/YingboMa/RecursiveFactorization.jl)
3+
[![Github Action CI](https://github.com/YingboMa/RecursiveFactorization.jl/workflows/CI/badge.svg)](https://github.com/YingboMa/RecursiveFactorization.jl/actions)
44
[![codecov](https://codecov.io/gh/YingboMa/RecursiveFactorization.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/YingboMa/RecursiveFactorization.jl)
55

66
---

0 commit comments

Comments
 (0)