Skip to content

Commit

Permalink
Merge pull request #153 from telegraphic/dev-v5
Browse files Browse the repository at this point in the history
Hickle v5.0.0
  • Loading branch information
telegraphic committed Dec 17, 2021
2 parents 3b5efbb + 9bedbec commit 118cc44
Show file tree
Hide file tree
Showing 41 changed files with 8,058 additions and 1,873 deletions.
54 changes: 0 additions & 54 deletions .appveyor.yml

This file was deleted.

67 changes: 67 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,67 @@
name: Python package

on:
push:
pull_request:
types: [ opened, synchronize, reopened, edited ]

jobs:
build:
if: github.repository_owner == 'telegraphic'
name: ${{ matrix.os}} ${{ matrix.architecture }}, Python ${{ matrix.python_version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
architecture: [x86, x64]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.6, 3.7, 3.8] #, 3.9] still disabled as astropy has problems
exclude:
- os: ubuntu-latest
architecture: x86
- os: macos-latest
architecture: x86
# disabled for now as python 3.9 not yet in matrix
#- python-version: [3.9] # exclude python >= 3.9 cause no h5py win32 wheels
# - os: windows-latest
# architecture: x86
fail-fast: false

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.architecture }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel virtualenv
pip install -r requirements_test.txt
pip install tox tox-gh-actions
- name: Test deployment
run: |
check-manifest
python setup.py sdist bdist_wheel
twine check dist/*
- name: Test package
run: |
tox
env:
TOX_H5PY_REQIREMENTS: ${{ matrix.architecture == 'x86' && '32' || ''}}
PLATFORM: ${{ matrix.platform }}
- name: Upload coverage
if: ${{ success() && github.repository == 'telegraphic/hickle' }}
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
fail_ci_if_error: true
verbose: true
- name: Deploy package
if: ${{ success() && matrix.os == 'ubuntu-latest' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload --skip-existing dist/*
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

19 changes: 18 additions & 1 deletion MANIFEST.in
Expand Up @@ -3,12 +3,29 @@ include *.md
include MANIFEST.in
include requirements*.txt
recursive-include hickle tests *
include conftest.py
include tox.ini

exclude docs
recursive-exclude docs *
exclude *.yml
exclude .*
exclude .nojekyll
exclude .pylintrc
exclude paper*
recursive-exclude * __pycache__
recursive-exclude * *.py[co]
recursive-exclude * *.py[co] *.bk *.swp
recursive-exclude * old .old
recursive-exclude * *.tox
recursive-exclude * *.h5
recursive-exclude * *.bak
recursive-exclude ci *
recursive-exclude * coverage.xml
exclude *_mv.txt
exclude *_tox.txt
recursive-exclude * .bashrcrun
exclude hickle/tests/classes
recursive-exclude hickle/tests/classes *
exclude hickle/tests/dev_check
recursive-exclude hickle/tests/dev_check *
exclude hickle/tests/test_stateful.py

0 comments on commit 118cc44

Please sign in to comment.