update test workflow #168
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: run smoke test | |
on: | |
pull_request: | |
branches: | |
- master | |
- develop | |
- stable | |
jobs: | |
run_smoke_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install pipenv | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade setuptools wheel | |
- name: Install test dependencies | |
run: pip install -e ./ | |
- name: Run smoke test | |
run: python example.py | |
working-directory: example | |
env: | |
API_BASE_PATH: "https://faceapi.regulaforensics.com" |