Merge pull request #17 from carvilsi/fix-repeated #78
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
name: tests | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "main", "develop" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: nodejs | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: bats install | |
run: | | |
git clone https://github.com/sstephenson/bats.git | |
cd bats | |
sudo ./install.sh /usr/local | |
cd - | |
- name: dependencies | |
run: | | |
npm install | |
- name: tests | |
run: npm test | |
- name: benchmarking | |
run: npm run benchmark |