Skip to content

Commit

Permalink
run tests in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
willcl-ark committed Nov 1, 2024
1 parent 655ea66 commit 154f886
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@ os := os()
default:
just --list

[private]
check-build:
#!/usr/bin/env bash
set -euxo pipefail
# If no build, then build it!
if [ ! -d "build" ]; then
just build
fi

# Build default project
[group('build')]
build *args: clean
Expand Down Expand Up @@ -55,7 +45,7 @@ test-func:

# Run all unit and functional tests
[group('test')]
test: check-build test-unit test-func
test: test-unit test-func

# Run a single functional test (filename.py)
[group('test')]
Expand All @@ -74,4 +64,4 @@ bench:

# Run the CI workflow
[group('ci')]
run-ci: build-ci && bench
run-ci: build-ci bench test

0 comments on commit 154f886

Please sign in to comment.