Skip to content

Commit 968cf16

Browse files
committed
[ci] Add a test running meshroom_compute with Python 3.9
1 parent 1a9fbdd commit 968cf16

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@ jobs:
5656
uses: codecov/test-results-action@v1
5757
with:
5858
token: ${{ secrets.CODECOV_TOKEN }}
59+
- name: Set up Python 3.9 - meshroom_compute test
60+
uses: actions/setup-python@v4
61+
with:
62+
python-version: 3.9
63+
- name: Install dependencies (Python 3.9) - meshroom_compute test
64+
run: |
65+
python3.9 -m pip install --upgrade pip
66+
python3.9 -m pip install -r requirements.txt --timeout 45
67+
- name: Run imports - meshroom_compute test
68+
run: |
69+
PYTHONPATH=$(pwd):$PYTHONPATH python3.9 bin/meshroom_compute -h
5970
6071
build-windows:
6172
runs-on: windows-latest
@@ -83,3 +94,17 @@ jobs:
8394
- name: Test with pytest
8495
run: |
8596
pytest tests/
97+
- name: Set up Python 3.9 - meshroom_compute test
98+
uses: actions/setup-python@v4
99+
with:
100+
python-version: 3.9
101+
- name: Test version
102+
run: |
103+
python3 --version
104+
- name: Install dependencies (Python 3.9) - meshroom_compute test
105+
run: |
106+
python3.9 -m pip install --upgrade pip
107+
python3.9 -m pip install -r requirements.txt --timeout 45
108+
- name: Run imports - meshroom_compute test
109+
run: |
110+
PYTHONPATH=%CD%;%PYTHONPATH% python3.9 bin/meshroom_compute -h

0 commit comments

Comments
 (0)