Skip to content

Merge pull request #161 from mkudlej/base64_user_key #217

Merge pull request #161 from mkudlej/base64_user_key

Merge pull request #161 from mkudlej/base64_user_key #217

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