Skip to content

Commit

Permalink
ci: top level bats runs all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymindarts committed Nov 9, 2023
1 parent a0c0e98 commit 530f68a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
run: nix develop -c buck2 build core/api core/api-keys apps/dashboard apps/consent
- name: Run bats tests
run: |
nix develop -c bats --setup-suite-file bats/ci_setup_suite.bash -t bats/core/api
nix develop -c bats --setup-suite-file bats/ci_setup_suite.bash -t bats/core/**
9 changes: 0 additions & 9 deletions bats/core/api-keys/api-keys.bats
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

load "../../helpers/setup-and-teardown.bash"

setup_file() {
start_services "api-keys"
await_api_is_up
}

teardown_file() {
stop_services
}

random_uuid() {
if [[ -e /proc/sys/kernel/random/uuid ]]; then
cat /proc/sys/kernel/random/uuid
Expand Down
2 changes: 2 additions & 0 deletions dev/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ local_resource(
allow_parallel = True,
resource_deps = [
"hydra",
"api",
]
)

Expand Down Expand Up @@ -116,6 +117,7 @@ local_resource(
allow_parallel = True,
resource_deps = [
"hydra",
"api",
]
)

Expand Down

0 comments on commit 530f68a

Please sign in to comment.