Skip to content

Commit da805e5

Browse files
authored
Try out python app workflow
1 parent ac0bf4a commit da805e5

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/pythonapp.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Python application
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Set up Python 3.7
13+
uses: actions/setup-python@v1
14+
with:
15+
python-version: 3.7
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install -r requirements.txt
20+
pip install jsonschema
21+
- name: Lint with black
22+
run: |
23+
pip install black
24+
black --check cve_bin_tool/
25+
black --check test/
26+
- name: Run tests
27+
run: |
28+
python setup.py test

0 commit comments

Comments
 (0)