Skip to content

Commit

Permalink
Merge pull request #49 from astralcai/master
Browse files Browse the repository at this point in the history
Complete refactor of QExPy
  • Loading branch information
Ryan Martin authored Mar 31, 2020
2 parents dc8037d + dc60728 commit 351a962
Show file tree
Hide file tree
Showing 88 changed files with 9,299 additions and 15,742 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Python Package

on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Lint with pylint
run: |
pip install pylint
pylint qexpy
- name: Test with pytest
run: |
pip install pytest
pytest -v --durations=0
70 changes: 60 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,60 @@
*.spyderworkspace
*.pyc
Run Test*
WorkList.txt
ToDo*
*.png
*.ipynb_checkpoints
*Plot*
*.pypirc
*.DS_Store*
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
.pytest_cache/

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# Environments
.DS_Store
.idea
.venv
venv/
env.bak/
venv.bak/
.vscode/
Loading

0 comments on commit 351a962

Please sign in to comment.