Skip to content

Commit 1c08826

Browse files
committed
Fix smoke test
1 parent a66fe53 commit 1c08826

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/run-smoke-test.yml

+11-12
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,24 @@ on:
1010

1111
jobs:
1212
run_smoke_test:
13-
1413
runs-on: ubuntu-latest
15-
strategy:
16-
matrix:
17-
python-version: [3.8]
18-
1914
steps:
2015
- uses: actions/checkout@v2
21-
- name: Set up Python ${{ matrix.python-version }}
16+
- name: Set up Python
2217
uses: actions/setup-python@v2
2318
with:
24-
python-version: ${{ matrix.python-version }}
25-
- name: Install dependencies
19+
python-version: 3.5
20+
- name: Install pipenv
2621
run: |
2722
python -m pip install --upgrade pip
28-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29-
- name: Run example
30-
run: |
31-
python example.py
23+
python -m pip install --upgrade setuptools wheel
24+
python -m pip install --upgrade pipenv==2018.11.26
25+
- name: Install test dependencies
26+
run: pipenv install --dev
27+
working-directory: example
28+
- name: Run smoke test
29+
run: pipenv run python example.py
30+
working-directory: example
3231
env:
3332
API_BASE_PATH: "http://test-api.regulaforensics.com"
3433
TEST_LICENSE: ${{secrets.TEST_LICENSE}}

0 commit comments

Comments
 (0)