fix(core): use tracing wrappers in email login #5288
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: "E2e test" | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
tests: | |
name: execute via bats | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- name: Maximize build space | |
uses: easimon/maximize-build-space@master | |
with: | |
root-reserve-mb: 12288 | |
temp-reserve-mb: 12288 | |
- 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 //apps/admin-panel //apps/map \ | |
//core/notifications | |
- name: Run bats tests | |
run: | | |
nix develop -c bats --setup-suite-file bats/ci_setup_suite.bash -t bats/core/** | |
- name: Rename Tilt log | |
if: always() | |
run: mv bats/.e2e-tilt.log bats/e2e-tilt.log | |
- name: Upload Tilt log | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Tilt log | |
path: bats/e2e-tilt.log |