Skip to content

Commit 0204f13

Browse files
authored
Creating initial github actions workflow
1 parent 015c9f4 commit 0204f13

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Python CI Steps Github Actions
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up Python 3.8
13+
uses: actions/setup-python@v1
14+
with:
15+
python-version: 3.8
16+
- name: Install dependencies
17+
run: |
18+
make install
19+
- name: Lint with pylint
20+
run: |
21+
make lint
22+
- name: Test with pytest
23+
run: |
24+
make test
25+
- name: Format code
26+
run: |
27+
make format
28+

0 commit comments

Comments
 (0)