Skip to content

Commit

Permalink
dev: activate python venv before calling tests
Browse files Browse the repository at this point in the history
Signed-off-by: Reuben Miller <[email protected]>
  • Loading branch information
reubenmiller committed Aug 25, 2023
1 parent 3e37b35 commit e29adc1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,15 @@ setup-integration-test *ARGS:

# Run integration tests (using local build)
integration-test *ARGS: release
cd tests/RobotFramework && .venv/bin/python3 -m invoke build --local tests {{ARGS}}
#!/usr/bin/env bash
set -e
if [ ! -d tests/RobotFramework/.venv ]; then
just -f {{justfile()}} setup-integration-test
fi
cd tests/RobotFramework
source .venv/bin/activate
invoke build --local
invoke tests {{ARGS}}
# Generate linux package scripts from templates
generate-linux-package-scripts:
Expand Down

0 comments on commit e29adc1

Please sign in to comment.