Skip to content

Commit

Permalink
update to github CI and versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mykelk committed Feb 15, 2024
1 parent f24ce88 commit 001eef1
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 74 deletions.
1 change: 0 additions & 1 deletion .codecov.yml

This file was deleted.

64 changes: 64 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: CI

# Run on master, tags, or any pull request
on:
push:
branches: [master]
tags: ["*"]
pull_request:

jobs:

# unit tests with coverage
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- "1.0" # LTS
- "1" # Latest Release
os:
- ubuntu-latest
arch:
- x64
steps:

# check out the project and install Julia
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}

# using a cache can speed up execution times
- uses: actions/cache@v2
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-
${{ runner.os }}-${{ matrix.arch }}-test-
${{ runner.os }}-${{ matrix.arch }}-
${{ runner.os }}-
# TexLive installation
# - name: Install TexLive
# run: sudo apt-get install pdf2svg texlive-latex-base texlive-binaries texlive-pictures texlive-latex-extra texlive-luatex

# build the depencies, run the tests, and upload coverage results
- uses: julia-actions/julia-buildpkg@latest
- run: |
git config --global user.name Tester
git config --global user.email [email protected]
- name: Run Tests
uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: ./lcov.info
flags: unittests
name: codecov-umbrella
5 changes: 3 additions & 2 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: CompatHelper

on:
schedule:
- cron: '00 00 * * *'
workflow_dispatch:

jobs:
CompatHelper:
runs-on: ubuntu-latest
Expand All @@ -13,4 +14,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} # optional
run: julia -e 'using CompatHelper; CompatHelper.main()'
run: julia -e 'using CompatHelper; CompatHelper.main()'
10 changes: 7 additions & 3 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@

name: TagBot
on:
schedule:
- cron: 0 * * * *
issue_comment:
types:
- created
workflow_dispatch:
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "TreeView"
uuid = "39424ebd-4cf3-5550-a685-96706a953f40"
version = "0.5.0"
version = "0.5.1"

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

[compat]
CommonSubexpressions = "0.2, 0.3"
Graphs = "1.4, 1.5, 1.6"
Graphs = "1.4, 1.5, 1.6, 1.7, 1.8, 1.9"
MacroTools = "0.4, 0.5"
TikzGraphs = "1.3"
julia = "^0.7, ^1"
TikzGraphs = "1.3, 1.4"
julia = "1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# TreeView

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


This is a small package to visualize a graph corresponding to an
Expand Down
35 changes: 0 additions & 35 deletions appveyor.yml

This file was deleted.

0 comments on commit 001eef1

Please sign in to comment.