Skip to content

Commit

Permalink
ci: use virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
aitjcize committed May 11, 2024
1 parent 3913064 commit 41d5062
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ jobs:
run: |
apk update
apk add git python3 make gcc linux-headers libc-dev py-pip
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
- name: Fix permission
run: git config --global --add safe.directory $PWD
- name: test
run: go test -v ./...
- name: e2e_test
run: ./test/overlord_e2e_unittest.py
run: |
source .venv/bin/activate
./test/overlord_e2e_unittest.py
build:
needs: test
Expand Down

0 comments on commit 41d5062

Please sign in to comment.