-
Notifications
You must be signed in to change notification settings - Fork 35
46 lines (36 loc) · 1.04 KB
/
dm_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
name: Integration Tests
on: [push]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.9]
fail-fast: false
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Update pip
run: |
python -m ensurepip
python -m pip install --upgrade pip
- name: Install dependencies
run: |
python -m pip install -r requirements.txt
- name: Install Tools
run: |
python -m pip install black flake8 pytest
- name: Quality Assurance
run: |
python -m flake8 ./DeezyMatch/ --count --select=E9,F63,F7,F82, --ignore=F821 --show-source --statistics
python -m black --diff ./DeezyMatch/
- name: Test with pytest
run: |
python -m pytest ./DeezyMatch/tests