We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1e0bf7 commit 7cdbf0cCopy full SHA for 7cdbf0c
.github/workflows/lint-and-smoke.yml
@@ -0,0 +1,27 @@
1
+name: lint & smoke
2
+on: [push]
3
+jobs:
4
+ lint-and-smoke:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions/checkout@v2
8
+ - uses: actions/setup-python@v2
9
+ with:
10
+ python-version: '3.7'
11
+ architecture: x64
12
+ - uses: actions/cache@v2
13
+ env:
14
+ cache-name: pipenv-virtualenvs-cache
15
16
+ path: ~/.local/share/virtualenvs
17
+ key: ${{env.cache-name}}-${{runner.os}}-${{hashFiles('Pipfile.lock')}}
18
+ - name: setup
19
+ run: |
20
+ pip install pipenv
21
+ pipenv install --dev
22
+ - name: lint
23
24
+ pipenv run python -m flake8 .
25
+ - name: smoke
26
27
+ pipenv run python -m pytest -m smoke
0 commit comments