Skip to content

Commit

Permalink
Merge pull request #123 from Living-with-machines/develop
Browse files Browse the repository at this point in the history
v1.3.2
  • Loading branch information
kasra-hosseini authored Apr 25, 2022
2 parents c40bafb + 6616c62 commit 112a4f4
Show file tree
Hide file tree
Showing 15 changed files with 2,708 additions and 1,472 deletions.
56 changes: 40 additions & 16 deletions .github/workflows/dm_ci.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,46 @@
name: Continuous integration
---
name: Integration Tests

on: [push, pull_request]
on: [push]

jobs:
build-linux:

run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.8]
fail-fast: false

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
$CONDA/bin/pip install -r requirements.txt
- name: Test with pytest
run: |
$CONDA/bin/conda install pytest
$CONDA/bin/pip install .
$CONDA/bin/pytest ./DeezyMatch/tests
- 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
Loading

0 comments on commit 112a4f4

Please sign in to comment.