-
Notifications
You must be signed in to change notification settings - Fork 18
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 #41 from kabilar/main
Update GitHub Actions
- Loading branch information
Showing
15 changed files
with
74 additions
and
232 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: DataJoint Contribution Guideline | ||
url: https://docs.datajoint.org/python/community/02-Contribute.html | ||
url: https://datajoint.com/docs/community/contribute/ | ||
about: Please make sure to review the DataJoint Contribution Guidelines |
This file was deleted.
Oops, something went wrong.
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,18 @@ | ||
name: Release | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
make_github_release: | ||
uses: datajoint/.github/.github/workflows/make_github_release.yaml@main | ||
pypi_release: | ||
needs: make_github_release | ||
uses: datajoint/.github/.github/workflows/pypi_release.yaml@main | ||
secrets: | ||
TWINE_USERNAME: ${{secrets.TWINE_USERNAME}} | ||
TWINE_PASSWORD: ${{secrets.TWINE_PASSWORD}} | ||
with: | ||
UPLOAD_URL: ${{needs.make_github_release.outputs.release_upload_url}} | ||
mkdocs_release: | ||
uses: datajoint/.github/.github/workflows/mkdocs_release.yaml@main | ||
permissions: | ||
contents: write |
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,32 @@ | ||
name: Test | ||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
py_ver: ["3.9", "3.10"] | ||
mysql_ver: ["8.0", "5.7"] | ||
include: | ||
- py_ver: "3.8" | ||
mysql_ver: "5.7" | ||
- py_ver: "3.7" | ||
mysql_ver: "5.7" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{matrix.py_ver}} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{matrix.py_ver}} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install flake8 "black[jupyter]" | ||
- name: Run style tests | ||
run: | | ||
python_version=${{matrix.py_ver}} | ||
black element_animal --check --verbose --target-version py${python_version//.} | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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.