ADX-1041 Support for custom flash messages passed from ADR #47
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: Tests | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install requirements | |
run: pip install flake8 pycodestyle | |
- name: Check syntax | |
run: | | |
flake8 . --count --show-source --statistics | |
test: | |
needs: | |
- lint | |
name: Auth0 Profile Editor pytest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Prepare venv | |
run: | | |
pip install pipenv | |
pipenv sync --dev | |
- name: Run tests | |
run: pipenv run pytest --vcr-record=none |