Skip to content

Merge pull request #150 from mkudlej/fix_gh_release_action #169

Merge pull request #150 from mkudlej/fix_gh_release_action

Merge pull request #150 from mkudlej/fix_gh_release_action #169

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