-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #366 from ml-struct-bio/v3.3.0-alpha
Version 3.3.0: direct traversal, TestPyPI
- Loading branch information
Showing
36 changed files
with
1,080 additions
and
431 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,36 @@ | ||
name: Beta Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '[0-9]+.[0-9]+.[0-9]+*' | ||
|
||
jobs: | ||
beta-release: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Upgrade setuptools/build | ||
run: | | ||
pip3 install wheel --upgrade | ||
pip3 install setuptools --upgrade | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Release to TestPyPI | ||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') | ||
env: | ||
TWINE_USERNAME: __token__ | ||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} | ||
|
||
run: | | ||
python -m pip install --upgrade build | ||
python -m build . | ||
python -m pip install --upgrade twine | ||
twine upload --repository testpypi dist/* |
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 |
---|---|---|
@@ -1,46 +1,42 @@ | ||
name: CI | ||
name: Continuous integration testing | ||
|
||
on: | ||
push: | ||
branches: [ master, develop ] | ||
branches: [ main, develop ] | ||
pull_request: | ||
branches: [ master, develop, vb/imagesoure ] | ||
branches: [ main, develop ] | ||
|
||
jobs: | ||
run_tests: | ||
|
||
runs-on: ubuntu-latest | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python: ['3.7', '3.8', '3.9', '3.10'] | ||
os: [ubuntu-latest, macos-latest] | ||
python: ['3.9', '3.10'] | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Upgrade setuptools | ||
run: | | ||
pip3 install wheel --upgrade | ||
pip3 install setuptools --upgrade | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
- name: Install cryoDRGN with dev dependencies | ||
run: | | ||
python -m pip install .[dev] | ||
python3 -m pip install .[dev] | ||
- name: Pre-commit checks | ||
run: | | ||
pre-commit run --all-files | ||
pre-commit run --all-files --show-diff-on-failure | ||
- name: Pyright | ||
run: | | ||
pyright --version | ||
pyright | ||
#pyright | ||
- name: Pytest | ||
run: | | ||
pytest | ||
pytest -v |
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 |
---|---|---|
|
@@ -12,6 +12,7 @@ __pycache__/ | |
env/ | ||
build/ | ||
develop-eggs/ | ||
docs/generated/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
|
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
Oops, something went wrong.