Skip to content

Commit 5cf17e3

Browse files
author
Yi Zhang
committed
Merge branch 'develop'
2 parents 7d9f8ac + 569ba22 commit 5cf17e3

2 files changed

Lines changed: 17 additions & 12 deletions

File tree

.github/workflows/torsten_test.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
strategy:
2828
matrix:
29-
os: [ubuntu-latest, macos-latest]
29+
os: [ubuntu-latest, macos-13]
3030

3131
steps:
3232
- uses: n1hility/cancel-previous-runs@v3
@@ -49,12 +49,17 @@ jobs:
4949
- name: Add Torsten to PATH
5050
shell: bash
5151
run: echo "./cmdstan/stan/lib/stan_math/stan/math/torsten" >> $GITHUB_PATH
52-
- name: Build Torsten example model pk2cpt
52+
- name: Build Torsten
53+
working-directory: ./cmdstan
54+
shell: bash
55+
run: |
56+
make -j2 build
57+
- name: Build example model pk2cpt
5358
working-directory: ./cmdstan
5459
shell: bash
5560
run: |
5661
make -j2 ../example-models/pk2cpt/pk2cpt
57-
- name: Run Torsten example model pk2cpt
62+
- name: Run example model pk2cpt
5863
working-directory: ./example-models/pk2cpt
5964
shell: bash
6065
run: |

.github/workflows/traffic.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: traffic
22

33
on:
4-
schedule:
4+
schedule:
55
# runs once a week on sunday
66
- cron: "55 23 * * 0"
77
# manually
88
workflow_dispatch:
9-
9+
1010
jobs:
1111
# This workflow contains a single job called "traffic"
1212
traffic:
@@ -16,21 +16,21 @@ jobs:
1616
# Steps represent a sequence of tasks that will be executed as part of the job
1717
steps:
1818
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020
with:
2121
ref: "traffic"
22-
22+
2323
# Calculates traffic and clones and stores in CSV file
24-
- name: GitHub traffic
25-
uses: sangonzal/repository-traffic-action@v0.1.4
24+
- name: GitHub traffic
25+
uses: sangonzal/repository-traffic-action@v.0.1.6
2626
env:
27-
TRAFFIC_ACTION_TOKEN: ${{ secrets.TRAFFIC_ACTION_TOKEN }}
28-
27+
TRAFFIC_ACTION_TOKEN: ${{ secrets.TRAFFIC_ACTION_TOKEN }}
28+
2929
# Commits files to repository
3030
- name: Commit changes
3131
uses: EndBug/add-and-commit@v4
3232
with:
3333
author_name: Yi Zhang
3434
message: "GitHub traffic"
3535
add: "./traffic/*"
36-
ref: "traffic" # commits to branch "traffic"
36+
ref: "traffic" # commits to branch "traffic"

0 commit comments

Comments
 (0)