-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/modsim/CADET-Match
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: pipeline | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test-job: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.7", "3.8", "3.9"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
#- name: Install dependencies | ||
# run: | | ||
# pip install -r requirements.txt | ||
# pip install -r requirements-dev.txt | ||
#- name: Lint with flake8 | ||
# run: | | ||
# # stop the build if there are Python syntax errors or undefined names | ||
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
# # exit-zero treats all errors as warnings | ||
# flake8 . --count --exit-zero --statistics | ||
#- name: Test with pytest | ||
# run: | | ||
# pytest --cov=./mcbackend --cov-report xml --cov-report term-missing mcbackend/ | ||
#- name: Upload coverage | ||
# uses: codecov/codecov-action@v2 | ||
# if: matrix.python-version == 3.9 | ||
# with: | ||
# file: ./coverage.xml | ||
# fail_ci_if_error: false | ||
- name: Test Wheel install and import | ||
run: | | ||
pip install wheel | ||
python setup.py bdist_wheel | ||
cd dist | ||
pip install CADETMatch*.whl | ||
python -c "import CADETMatch; print(CADETMatch.__version__)" |