File tree Expand file tree Collapse file tree 5 files changed +42
-31
lines changed Expand file tree Collapse file tree 5 files changed +42
-31
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ - push
4+ jobs :
5+ xenial :
6+ container :
7+ image : vapor/swift:5.1-xenial
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@master
11+ - run : swift test --enable-test-discovery --enable-code-coverage
12+ bionic :
13+ container :
14+ image : vapor/swift:5.1-bionic
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@master
18+ - name : Run Bionic Tests
19+ run : swift test --enable-test-discovery --enable-code-coverage
20+ - name : Setup container for codecov upload
21+ run : apt-get update && apt-get install curl
22+ - name : Process coverage file
23+ run : llvm-cov show .build/x86_64-unknown-linux/debug/SwiftMarkdownPackageTests.xctest -instr-profile=.build/x86_64-unknown-linux/debug/codecov/default.profdata > coverage.txt
24+ - name : Upload code coverage
25+ uses : codecov/codecov-action@v1
26+ with :
27+ token : ${{ secrets.CODECOV_UPLOAD_KEY }}
28+ file : coverage.txt
Original file line number Diff line number Diff line change 55Package.pins
66DerivedData /
77Package.resolved
8+ .swiftpm
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // swift-tools-version:5.1
2+
13import PackageDescription
24
35let package = Package (
46 name: " SwiftMarkdown " ,
7+ products: [
8+ . library( name: " SwiftMarkdown " , targets: [ " SwiftMarkdown " ] ) ,
9+ ] ,
510 dependencies: [
6- . Package( url: " https://github.com/brokenhandsio/cmark-gfm.git " , majorVersion: 1 )
11+ . package ( url: " https://github.com/brokenhandsio/cmark-gfm.git " , . upToNextMajor( from: " 1.0.0 " ) ) ,
12+ ] ,
13+ targets: [
14+ . target( name: " SwiftMarkdown " , dependencies: [ " cmark " ] ) ,
15+ . testTarget( name: " SwiftMarkdownTests " , dependencies: [ " SwiftMarkdown " ] ) ,
716 ]
817)
Original file line number Diff line number Diff line change 11# Markdown
22
3- [ ![ Language] ( https://img.shields.io/badge/Swift-4-brightgreen.svg )] ( http://swift.org )
4- [ ![ Build Status] ( https://travis-ci.org/vapor-community/markdown.svg?branch=master )] ( https://travis-ci.org/vapor-community/markdown )
3+ [ ![ Language] ( https://img.shields.io/badge/Swift-5.1-brightgreen.svg )] ( http://swift.org )
4+ [ ![ Build Status] ( https://github.com/vapor-community/markdown/workflows/CI/badge.svg?branch=master )] ( https://github.com/vapor-community/markdown/actions )
5+ [ ![ Code Coverage] ( https://codecov.io/gh/vapor-community/markdown/branch/master/graph/badge.svg )] ( https://codecov.io/gh/vapor-community/markdown )
56[ ![ GitHub license] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( https://raw.githubusercontent.com/vapor-community/markdown/master/LICENSE )
67
78Very simple Swift wrapper of GitHub's fork of [ cmark] ( https://github.com/github/cmark ) . Uses a [ fork] ( https://github.com/brokenhandsio/cmark-gfm ) of cmark which has been adapted for building with SwiftPM.
You can’t perform that action at this time.
0 commit comments