Skip to content

Commit 408a821

Browse files
committed
Add CI testing, and CI badge to README
1 parent 18855a1 commit 408a821

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.github/workflows/CI.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.7'
22+
- '1'
23+
os:
24+
- ubuntu-latest
25+
- macOS-latest
26+
- windows-latest
27+
arch:
28+
- x64
29+
steps:
30+
- uses: actions/checkout@v2
31+
- uses: julia-actions/setup-julia@v1
32+
with:
33+
version: ${{ matrix.version }}
34+
arch: ${{ matrix.arch }}
35+
- uses: julia-actions/cache@v1
36+
- uses: julia-actions/julia-buildpkg@v1
37+
- uses: julia-actions/julia-runtest@v1
38+
- uses: julia-actions/julia-processcoverage@v1
39+
- uses: codecov/codecov-action@v2
40+
with:
41+
files: lcov.info

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Julia interface to LinearFold
22

3+
[![Build Status](https://github.com/marcom/LinearFold.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/marcom/LinearFold.jl/actions/workflows/CI.yml?query=branch%3Amain)
4+
35
Unofficial Julia interface to the
46
[LinearFold](https://github.com/LinearFold) suite of programs for RNA
57
secondary structure prediction. Please cite the applicable original

0 commit comments

Comments
 (0)