Run the action when you push to github-actions and when you pull agai… #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | |
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | |
on: | |
push: | |
branches: [github-actions] | |
pull_request: | |
branches: [main] | |
name: Validate fsbench | |
permissions: read-all | |
jobs: | |
Run-fsbench: | |
runs-on: ubuntu-latest | |
# env: | |
# GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
use-public-rspm: true | |
r-version: '4.4.0' | |
- name: Setup fsbench repository | |
run: make setup | |
- name: Run load test | |
run: make |