-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update Xoshiro return type * Prints to help debug in makefile * Try and resolve hdf5 version issue * Pin h5py version in tests * Pin exact versions * Revert the hdf5 installation * Revert original change to check for segfault * Move the testing to gha * Try to get segfault backtrace * Change library location * Attempt to add ssh to gha * Try ssh again * Fix typo in yaml * Change install command * Use single threaded tests * Revert changes in the wrapper * Add tests back to the azure version * Try adding libgomp via mamba, single multicore test * Another interactive debugging run * Forgot to remove delete line * Check for keyboard interrupt only on main thread * Add test for openmp dists; try to fix dist segfault * Try restricting signal check to thread 0
- Loading branch information
Showing
9 changed files
with
96 additions
and
35 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,52 @@ | ||
# Python package | ||
# Create and test a Python package on multiple Python versions. | ||
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: | ||
# https://docs.microsoft.com/azure/devops/pipelines/languages/python | ||
|
||
name: Run tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
test: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.8] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Get current date | ||
id: date | ||
run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}" | ||
- name: Install Conda environment from environment.yml | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
micromamba-version: '1.4.6-0' | ||
environment-file: environment.yml | ||
# persist on the same day. | ||
cache-environment-key: environment-${{ steps.date.outputs.date }} | ||
cache-downloads-key: downloads-${{ steps.date.outputs.date }} | ||
- name: Install and run_test.py | ||
shell: bash -l {0} | ||
run: | | ||
python -m pip install --no-deps --ignore-installed . -vvv | ||
cd test && python run_test.py | ||
## For debugging | ||
- name: Install debug version | ||
if: failure() | ||
shell: bash -l {0} | ||
run: | | ||
python setup.py build_ext --debug install | ||
- name: Setup tmate session for interactive debugging | ||
if: failure() | ||
uses: mxschmitt/action-tmate@v3 | ||
with: | ||
limit-access-to-actor: true | ||
detached: true |
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
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
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
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
|
||
'''PopPUNK sketching functions''' | ||
|
||
__version__ = '2.1.1' | ||
__version__ = '2.1.2' |
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
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
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
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