Merge pull request #151 from 3scale-qe/dependabot/pip/idna-3.7 #174
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: lint & smoke | |
on: [push, pull_request] | |
jobs: | |
lint-and-smoke: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
architecture: x64 | |
- uses: actions/cache@v2 | |
env: | |
cache-name: pipenv-virtualenvs-cache | |
with: | |
path: ~/.local/share/virtualenvs | |
key: ${{env.cache-name}}-${{runner.os}}-${{hashFiles('Pipfile.lock')}} | |
- name: setup | |
run: | | |
pip install pipenv | |
pipenv install --dev | |
- name: lint | |
run: | | |
pipenv run python -m flake8 . | |
- name: smoke | |
run: | | |
pipenv run python -m pytest -m smoke |