Skip to content

Commit a6a908d

Browse files
authored
Creating first Github Action
1 parent f78b3f8 commit a6a908d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/pythonapp.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Python application test with 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

0 commit comments

Comments
 (0)