Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/modsim/CADET-Match
Browse files Browse the repository at this point in the history
  • Loading branch information
Immudzen committed Feb 11, 2022
2 parents ecdafa9 + 6d29c4c commit e2dfc33
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/pipeline.yml
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__)"

0 comments on commit e2dfc33

Please sign in to comment.