File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change 27
27
cache : npm
28
28
cache-dependency-path : test/e2e/package-lock.json
29
29
30
- - name : Create Python venv and install dependencies
30
+ - name : Install Python dependencies
31
31
working-directory : test/e2e
32
- run : |
33
- python -m venv .venv
34
- source .venv/bin/activate
35
- pip install -r requirements.txt
36
- echo "VIRTUAL_ENV=$(pwd)/.venv" >> $GITHUB_ENV
37
- echo "$(pwd)/.venv/bin" >> $GITHUB_PATH
32
+ run : pip install -r requirements.txt
38
33
39
34
- name : Install npm dependencies
40
35
working-directory : test/e2e
@@ -47,16 +42,14 @@ jobs:
47
42
48
43
- name : Build Docker images
49
44
run : |
50
- source test/e2e/.venv/bin/activate
51
- cd test/e2e
52
- just build-images
45
+ docker build -f test/e2e/Dockerfile.base -t e2ebase .
46
+ docker compose -f test/e2e/docker-compose.yml build connect-publisher-e2e code-server
53
47
env :
54
48
CONNECT_LICENSE : ${{ secrets.CONNECT_LICENSE }}
55
49
56
50
- name : Run Cypress tests
57
51
working-directory : test/e2e
58
52
run : |
59
- source .venv/bin/activate
60
53
just start "connect-publisher-e2e"
61
54
just start "code-server"
62
55
npx cypress run
83
76
- name : Stop containers
84
77
if : always()
85
78
working-directory : test/e2e
86
- run : |
87
- source .venv/bin/activate
88
- just stop
79
+ run : just stop
You can’t perform that action at this time.
0 commit comments