feat: move gt3 library #2426
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: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v4 | |
- name: Run the Magic Nix Cache | |
uses: DeterminateSystems/magic-nix-cache-action@v2 | |
- name: Buck2 build | |
run: | | |
nix develop -c buck2 build //core/api //core/api-ws-server \ | |
//core/api-keys //apps/dashboard //apps/consent //apps/pay | |
- name: Run bats tests | |
run: | | |
nix develop -c bats --setup-suite-file bats/ci_setup_suite.bash -t bats/core/** |