File tree Expand file tree Collapse file tree 1 file changed +11
-28
lines changed Expand file tree Collapse file tree 1 file changed +11
-28
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ permissions:
11
11
contents : read
12
12
13
13
jobs :
14
- build :
14
+ build-and-test :
15
15
env :
16
16
DISPLAY : :0
17
17
TNB_EMAIL : ${{ secrets.TNB_EMAIL }}
@@ -33,33 +33,16 @@ jobs:
33
33
- name : Setup headless display
34
34
uses : pyvista/setup-headless-display-action@v1
35
35
36
- # - name: Set up terminal dependencies.
37
- # run: ./setup.sh
38
- # shell: sh
39
- #
40
- # - name: xhost setup
41
- # run: xhost +si:localuser:runner
42
- # shell: sh
43
- #
44
- # - name: Set up Python 3.9
45
- # uses: actions/setup-python@v3
46
- # with:
47
- # python-version: "3.9"
48
-
49
-
50
- test :
51
- runs-on : ubuntu-20.04
52
- needs : build
36
+ - name : Set up terminal dependencies.
37
+ run : ./setup.sh
38
+ shell : sh
53
39
54
- steps :
55
- - name : Venv activation
56
- run : . venv/bin/activate
57
- shell : sh
40
+ - name : xhost setup
41
+ run : xhost +si:localuser:runner
42
+ shell : sh
58
43
59
- - name : Reinstall pip libraries
60
- run : pip install -r requirements.txt
61
- shell : sh
44
+ - name : Set up Python 3.9
45
+ uses : actions/setup-python@v3
46
+ with :
47
+ python-version : " 3.9"
62
48
63
- - name : Run python app (main.py)
64
- run : python3 main.py
65
- shell : sh
You can’t perform that action at this time.
0 commit comments