Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromTokTok/apidsl

Commit600f4f3

Browse files
committed
chore: Enable coveralls on GitHub Actions.
1 parent48663ab commit600f4f3

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

‎.github/workflows/ci.yaml‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ jobs:
1616

1717
-name:Install dependencies
1818
run:opam install . --deps-only --with-test
19-
-name:Build
20-
run:opam exec -- dune build
21-
-name:Run tests
22-
run:opam exec -- dune runtest
19+
-name:Build and run tests
20+
run:opam exec -- make check
21+
-name:Upload test coverage report to Coveralls
22+
run:opam exec -- bisect-ppx-report send-to Coveralls
23+
env:
24+
COVERALLS_REPO_TOKEN:${{ secrets.GITHUB_TOKEN }}
25+
PULL_REQUEST_NUMBER:${{ github.event.number }}

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ check: $(patsubst %,%dune,$(dir $(wildcard test/*/*.api.h)))
99
BISECT_ENABLE=yes dune runtest
1010

1111
coverage: check
12-
bisect-ppx-report -html _coverage/ -I _build/default _build/default/test/*/bisect*.coverage
12+
bisect-ppx-report --html _coverage/ -I _build/default _build/default/test/*/bisect*.coverage
1313

1414
coveralls: check
1515
bisect-ppx-report\

‎apidsl.opam‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,29 @@ license: "GPL3"
88
homepage: "https://github.com/TokTok/apidsl"
99
bug-reports: "https://github.com/TokTok/apidsl/issues"
1010
depends: [
11-
"dune" {> "1.5"}
11+
"dune" {>= "2.9" & >= "2.9.1"}
1212
"bisect_ppx" {> "0.1"}
1313
"js_of_ocaml-ppx" {> "0.1"}
1414
"menhirLib" {>= "20200211"}
1515
"ppx_deriving_yojson" {> "0.1"}
16-
"tiny_httpd" {> "0.1"}
17-
"yojson" {> "0.1"}
16+
"tiny_httpd" {>= "0.9"}
17+
"yojson" {>= "1.7.0"}
18+
"odoc" {with-doc}
1819
]
1920
build: [
20-
["dune" "subst"] {pinned}
21+
["dune" "subst"] {dev}
2122
[
2223
"dune"
2324
"build"
2425
"-p"
2526
name
2627
"-j"
2728
jobs
29+
"--promote-install-files=false"
2830
"@install"
2931
"@runtest" {with-test}
3032
"@doc" {with-doc}
3133
]
34+
["dune" "install" "-p" name "--create-install-files" name]
3235
]
3336
dev-repo: "git+https://github.com/TokTok/apidsl.git"

‎dune-project‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(lang dune2.3)
1+
(lang dune2.9)
22
(using menhir2.1)
33
(generate_opam_filestrue)
44

@@ -12,10 +12,10 @@
1212
(synopsis"Domain Specific Language to describe C APIs")
1313
(description"Domain Specific Language to describe C APIs")
1414
(depends
15-
(dune(>1.5))
15+
(dune(>=2.9.1))
1616
(bisect_ppx(>0.1))
1717
(js_of_ocaml-ppx(>0.1))
1818
(menhirLib(>=20200211))
1919
(ppx_deriving_yojson(>0.1))
2020
(tiny_httpd(>=0.9))
21-
(yojson(>0.1))))
21+
(yojson(>=1.7.0))))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp