Release new version 0.19.0
[grml2usb.git] / .github / workflows / check-full.yml
1 name: Code Testing
2
3 on:
4   push:
5   pull_request:
6   schedule:
7     - cron: '42 1 * * *'
8
9 jobs:
10   codecheck:
11     runs-on: ubuntu-latest
12     name: Run codecheck
13
14     steps:
15       - name: Checkout source
16         uses: actions/checkout@v2
17
18       - name: pip install wheel (to make install black work)
19         run: pip3 install wheel
20
21       - name: pip install flake8, isort + black, vulture
22         run: pip3 install flake8 isort black vulture
23
24       - name: Codecheck execution
25         run: make codecheck
26
27   unittests:
28     runs-on: ubuntu-latest
29     name: Run unit tests
30
31     steps:
32       - name: Checkout source
33         uses: actions/checkout@v2
34
35       - name: Install pytest
36         run: pip3 install pytest
37
38       - name: Run Pytest
39         run: pytest