This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +33
-3
lines changed Expand file tree Collapse file tree 1 file changed +33
-3
lines changed Original file line number Diff line number Diff line change 5454 submodules : recursive
5555
5656 - name : use python for linux
57- if : runner.os == 'Linux'
5857 uses : actions/setup-python@v4
5958 with :
60- python-version : ' 3.9 '
59+ python-version : ' 3.10 '
6160
6261 - name : Install tools on Linux
6362 if : runner.os == 'Linux'
@@ -106,7 +105,38 @@ jobs:
106105 run : |
107106 cd engine
108107 make run-unit-tests
109-
108+
109+ - name : Run e2e tests
110+ if : runner.os != 'Windows'
111+ run : |
112+ cd engine
113+ cp build/cortex build/cortex-nightly
114+ cp build/cortex build/cortex-beta
115+ python -m pip install --upgrade pip
116+ python -m pip install pytest
117+ python -m pip install requests
118+ python e2e-test/main.py
119+ rm build/cortex-nightly
120+ rm build/cortex-beta
121+ env :
122+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
123+
124+
125+ - name : Run e2e tests
126+ if : runner.os == 'Windows'
127+ run : |
128+ cd engine
129+ cp build/cortex.exe build/cortex-nightly.exe
130+ cp build/cortex.exe build/cortex-beta.exe
131+ python -m pip install --upgrade pip
132+ python -m pip install pytest
133+ python -m pip install requests
134+ python e2e-test/main.py
135+ rm build/cortex-nightly.exe
136+ rm build/cortex-beta.exe
137+ env :
138+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
139+
110140 - name : Pre-package
111141 run : |
112142 cd engine
You can’t perform that action at this time.
0 commit comments