Skip to content

Commit cee1df8

Browse files
committed
Rework CI workflows
1 parent 81fe5ef commit cee1df8

File tree

2 files changed

+16
-21
lines changed

2 files changed

+16
-21
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6+
67
build-and-test:
78
name: Build and Test
89
runs-on: ubuntu-latest
@@ -14,3 +15,18 @@ jobs:
1415
version: stable
1516
- run: raco pkg install --batch --auto --link --name resyntax
1617
- run: raco test --package resyntax
18+
19+
code-coverage:
20+
name: Code Coverage
21+
runs-on: ubuntu-latest
22+
if: ${{ github.event_name == 'pull_request' || github.ref == 'master' }}
23+
steps:
24+
- uses: actions/checkout@master
25+
- uses: Bogdanp/[email protected]
26+
with:
27+
version: stable
28+
- run: raco pkg install --batch --auto cover cover-coveralls
29+
- run: raco pkg install --batch --auto --link --name resyntax
30+
- run: raco cover --format coveralls --suppress-log-execution --package resyntax
31+
env:
32+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

.github/workflows/coverage.yml

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

0 commit comments

Comments
 (0)