build: create initial rust buck setup #1865
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: "Bats test" | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
integration: | |
name: Bats tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 18 | |
steps: | |
- name: Setup BATS | |
uses: mig4/setup-bats@v1 | |
with: | |
bats-version: 1.9.0 | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: "yarn" | |
cache-dependency-path: core/api/yarn.lock | |
- run: cd core/api && yarn install --frozen-lockfile | |
- name: Run bats tests | |
run: | | |
. ./.env && cd core/api && make reset-bats |