Skip to content

Commit 77b8537

Browse files
committed
edited build-dev-branch.yml
1 parent b631b39 commit 77b8537

File tree

1 file changed

+11
-28
lines changed

1 file changed

+11
-28
lines changed

.github/workflows/build-dev-branch.yml

Lines changed: 11 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
contents: read
1212

1313
jobs:
14-
build:
14+
build-and-test:
1515
env:
1616
DISPLAY: :0
1717
TNB_EMAIL: ${{ secrets.TNB_EMAIL }}
@@ -33,33 +33,16 @@ jobs:
3333
- name: Setup headless display
3434
uses: pyvista/setup-headless-display-action@v1
3535

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
5339

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
5843

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"
6248

63-
- name: Run python app (main.py)
64-
run: python3 main.py
65-
shell: sh

0 commit comments

Comments
 (0)