Skip to content

Commit 001eef1

Browse files
committed
update to github CI and versions
1 parent f24ce88 commit 001eef1

File tree

8 files changed

+80
-74
lines changed

8 files changed

+80
-74
lines changed

.codecov.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/CI.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: CI
2+
3+
# Run on master, tags, or any pull request
4+
on:
5+
push:
6+
branches: [master]
7+
tags: ["*"]
8+
pull_request:
9+
10+
jobs:
11+
12+
# unit tests with coverage
13+
test:
14+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
version:
20+
- "1.0" # LTS
21+
- "1" # Latest Release
22+
os:
23+
- ubuntu-latest
24+
arch:
25+
- x64
26+
steps:
27+
28+
# check out the project and install Julia
29+
- uses: actions/checkout@v2
30+
- uses: julia-actions/setup-julia@v1
31+
with:
32+
version: ${{ matrix.version }}
33+
arch: ${{ matrix.arch }}
34+
35+
# using a cache can speed up execution times
36+
- uses: actions/cache@v2
37+
env:
38+
cache-name: cache-artifacts
39+
with:
40+
path: ~/.julia/artifacts
41+
key: ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
42+
restore-keys: |
43+
${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-
44+
${{ runner.os }}-${{ matrix.arch }}-test-
45+
${{ runner.os }}-${{ matrix.arch }}-
46+
${{ runner.os }}-
47+
48+
# TexLive installation
49+
# - name: Install TexLive
50+
# run: sudo apt-get install pdf2svg texlive-latex-base texlive-binaries texlive-pictures texlive-latex-extra texlive-luatex
51+
52+
# build the depencies, run the tests, and upload coverage results
53+
- uses: julia-actions/julia-buildpkg@latest
54+
- run: |
55+
git config --global user.name Tester
56+
git config --global user.email [email protected]
57+
- name: Run Tests
58+
uses: julia-actions/julia-runtest@latest
59+
- uses: julia-actions/julia-processcoverage@v1
60+
- uses: codecov/codecov-action@v1
61+
with:
62+
file: ./lcov.info
63+
flags: unittests
64+
name: codecov-umbrella

.github/workflows/CompatHelper.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: CompatHelper
2+
23
on:
34
schedule:
45
- cron: '00 00 * * *'
5-
workflow_dispatch:
6+
67
jobs:
78
CompatHelper:
89
runs-on: ubuntu-latest
@@ -13,4 +14,4 @@ jobs:
1314
env:
1415
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1516
COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} # optional
16-
run: julia -e 'using CompatHelper; CompatHelper.main()'
17+
run: julia -e 'using CompatHelper; CompatHelper.main()'

.github/workflows/TagBot.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1+
12
name: TagBot
23
on:
3-
schedule:
4-
- cron: 0 * * * *
4+
issue_comment:
5+
types:
6+
- created
7+
workflow_dispatch:
58
jobs:
69
TagBot:
10+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
711
runs-on: ubuntu-latest
812
steps:
913
- uses: JuliaRegistries/TagBot@v1
1014
with:
11-
token: ${{ secrets.GITHUB_TOKEN }}
15+
token: ${{ secrets.GITHUB_TOKEN }}

.travis.yml

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

Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "TreeView"
22
uuid = "39424ebd-4cf3-5550-a685-96706a953f40"
3-
version = "0.5.0"
3+
version = "0.5.1"
44

55
[deps]
66
CommonSubexpressions = "bbf7d656-a473-5ed7-a52c-81e309532950"
@@ -10,10 +10,10 @@ TikzGraphs = "b4f28e30-c73f-5eaf-a395-8a9db949a742"
1010

1111
[compat]
1212
CommonSubexpressions = "0.2, 0.3"
13-
Graphs = "1.4, 1.5, 1.6"
13+
Graphs = "1.4, 1.5, 1.6, 1.7, 1.8, 1.9"
1414
MacroTools = "0.4, 0.5"
15-
TikzGraphs = "1.3"
16-
julia = "^0.7, ^1"
15+
TikzGraphs = "1.3, 1.4"
16+
julia = "1"
1717

1818
[extras]
1919
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# TreeView
22

3-
[![Build Status](https://travis-ci.org/JuliaTeX/TreeView.jl.svg?branch=master)](https://travis-ci.org/JuliaTeX/TreeView.jl)
4-
[![codecov.io](http://codecov.io/github/JuliaTeX/TreeView.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaTeX/TreeView.jl?branch=master)
3+
[![Build Status](https://github.com/JuliaTeX/TreeView.jl/workflows/CI/badge.svg)](https://github.com/JuliaTeX/TreeView.jl/actions)
4+
[![codecov](https://codecov.io/gh/JuliaTeX/TreeView.jl/branch/master/graph/badge.svg?token=btTBnBTQyw)](https://codecov.io/gh/JuliaTeX/TreeView.jl)
55

66

77
This is a small package to visualize a graph corresponding to an

appveyor.yml

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

0 commit comments

Comments
 (0)