Skip to content

Commit 76f70fc

Browse files
update CI and README
1 parent 7c5ffef commit 76f70fc

File tree

3 files changed

+65
-49
lines changed

3 files changed

+65
-49
lines changed

.github/workflows/CI.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags: ['*']
7+
pull_request:
8+
concurrency:
9+
# Skip intermediate builds: always.
10+
# Cancel intermediate builds: only if it is a pull request build.
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
13+
jobs:
14+
test:
15+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
version:
21+
- '1.8'
22+
- 'nightly'
23+
os:
24+
- ubuntu-latest
25+
arch:
26+
- x64
27+
- x86
28+
steps:
29+
- uses: actions/checkout@v2
30+
- uses: julia-actions/setup-julia@v1
31+
with:
32+
version: ${{ matrix.version }}
33+
arch: ${{ matrix.arch }}
34+
- uses: julia-actions/cache@v1
35+
- uses: julia-actions/julia-buildpkg@v1
36+
- uses: julia-actions/julia-runtest@v1
37+
- uses: julia-actions/julia-processcoverage@v1
38+
- uses: codecov/codecov-action@v2
39+
with:
40+
files: lcov.info
41+
docs:
42+
name: Documentation
43+
runs-on: ubuntu-latest
44+
permissions:
45+
contents: write
46+
statuses: write
47+
steps:
48+
- uses: actions/checkout@v2
49+
- uses: julia-actions/setup-julia@v1
50+
with:
51+
version: '1'
52+
- uses: julia-actions/julia-buildpkg@v1
53+
- uses: julia-actions/julia-docdeploy@v1
54+
env:
55+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+
- run: |
57+
julia --project=docs -e '
58+
using Documenter: DocMeta, doctest
59+
using GtkMarkdownTextView
60+
DocMeta.setdocmeta!(GtkMarkdownTextView, :DocTestSetup, :(using GtkMarkdownTextView); recursive=true)
61+
doctest(GtkMarkdownTextView)'

README.md

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

3-
[![Build Status](https://travis-ci.org/jonathanBieler/GtkMarkdownTextView.jl.svg?branch=master)](https://travis-ci.org/jonathanBieler/GtkMarkdownTextView.jl)
3+
[![Build Status](https://github.com/jonathanBieler/GtkMarkdownTextView.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/jonathanBieler/GtkMarkdownTextView.jl/actions/workflows/CI.yml?query=branch%3Amain)
44

55
[![Coverage Status](https://coveralls.io/repos/jonathanBieler/GtkMarkdownTextView.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/jonathanBieler/GtkMarkdownTextView.jl?branch=master)
66

@@ -9,6 +9,8 @@ A widget to display simple markdown formatted text:
99
![screenshot](assets/GtkMarkdownTextView.png)
1010

1111
```julia
12+
using Gtk4, GtkMarkdownTextView
13+
1214
w = GtkWindow("")
1315

1416
md = """
@@ -31,7 +33,7 @@ md = """
3133

3234
v = MarkdownTextView(md)
3335
push!(w,v)
34-
showall(w)
36+
show(w)
3537
```
3638

3739
The constructor can take a prelude text and color settings :

appveyor.yml

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

0 commit comments

Comments
 (0)