-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from Living-with-machines/develop
v1.3.2
- Loading branch information
Showing
15 changed files
with
2,708 additions
and
1,472 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.