Skip to content

Commit ed98fef

Browse files
committed
atime perf test
1 parent a062b0c commit ed98fef

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.ci/atime/tests.R

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
test.list <- atime::atime_test_list(
2+
binseg_normal_best=atime::atime_test(
3+
setup={
4+
max.segs <- as.integer(N/2)
5+
data_vec <- 1:N
6+
},
7+
expr=binsegRcpp::binseg_normal(data_vec, max.segs)
8+
)
9+
)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: atime performance tests
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
paths:
10+
- 'R/**'
11+
- 'src/**'
12+
- '.ci/atime/**'
13+
14+
jobs:
15+
comment:
16+
runs-on: ubuntu-latest
17+
container: ghcr.io/iterative/cml:0-dvc2-base1
18+
env:
19+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
20+
repo_token: ${{ secrets.GITHUB_TOKEN }}
21+
steps:
22+
- uses: Anirban166/[email protected]

0 commit comments

Comments
 (0)