Susanna Anil commited on
Commit
239c0f3
·
unverified ·
1 Parent(s): 2b93e1d

Create main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +25 -0
.github/workflows/main.yml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This is a basic workflow to help you get started with Actions
2
+
3
+ name: Python application test with Github Actions
4
+ on: [push]
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - name: Set up Python 3.10
11
+ uses: actions/setup-python@v1
12
+ with:
13
+ python-version: 3.10.8
14
+ - name: Install dependencies
15
+ run: |
16
+ make install
17
+ - name: Lint with pylint
18
+ run: |
19
+ make lint
20
+ - name: Test with pytest
21
+ run: |
22
+ make test
23
+ - name: Format code
24
+ run: |
25
+ make format