-
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 #35 from kabilar/master
Update GitHub Actions
- Loading branch information
Showing
21 changed files
with
70 additions
and
226 deletions.
There are no files selected for viewing
28 changes: 0 additions & 28 deletions
28
.github/.staging_workflows/anchored_u24_element_before_release.yaml
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
.github/.staging_workflows/anchored_u24_element_release_call.yaml
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
.github/.staging_workflows/anchored_u24_element_tag_to_release.yaml
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
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 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
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_event --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
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,2 +1,2 @@ | ||
"""Package metadata.""" | ||
__version__ = "0.2.2" | ||
__version__ = "0.2.3" |