Skip to content

Commit

Permalink
Merge pull request #18 from kabilar/main
Browse files Browse the repository at this point in the history
Update GitHub Actions and citation
  • Loading branch information
dimitri-yatsenko authored Aug 10, 2023
2 parents c9a1a8f + b60bd19 commit 4f53b14
Show file tree
Hide file tree
Showing 8 changed files with 73 additions and 65 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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

34 changes: 34 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "0 8 * * 1"
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_zstack --check --verbose --target-version py${python_version//.}
17 changes: 0 additions & 17 deletions .github/workflows/u24_element_before_release.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/u24_element_release_call.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/u24_element_tag_to_release.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.

## [0.1.2] - 2023-07-28

+ Update - GitHub Actions with new reusable workflows
+ Add - BossDB citation

## [0.1.1] - 2023-05-22

+ Add - Cellpose citation
Expand All @@ -13,5 +18,6 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
+ Add - `bossdb` schema
+ Add - Upload utilty to create resources and upload data to BossDB

[0.1.2]: https://github.com/datajoint/element-zstack/releases/tag/0.1.2
[0.1.1]: https://github.com/datajoint/element-zstack/releases/tag/0.1.1
[0.1.0]: https://github.com/datajoint/element-zstack/releases/tag/0.1.0
18 changes: 13 additions & 5 deletions docs/src/citation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@
If your work uses the following resources, please cite the respective manuscript and/or Research Resource Identifier (RRID):

+ DataJoint Element ZStack - Version {{ PATCH_VERSION }}
+ Yatsenko D, Nguyen T, Shen S, Gunalan K, Turner CA, Guzman R, Sasaki M, Sitonic D,
Reimer J, Walker EY, Tolias AS. DataJoint Elements: Data Workflows for
Neurophysiology. bioRxiv. 2021 Jan 1. doi: https://doi.org/10.1101/2021.03.30.437358
+ Yatsenko D, Nguyen T, Shen S, Gunalan K, Turner CA, Guzman R, Sasaki M, Sitonic D,
Reimer J, Walker EY, Tolias AS. DataJoint Elements: Data Workflows for
Neurophysiology. bioRxiv. 2021 Jan 1. doi: https://doi.org/10.1101/2021.03.30.437358

+ [RRID:SCR_021894](https://scicrunch.org/resolver/SCR_021894)
+ [RRID:SCR_021894](https://scicrunch.org/resolver/SCR_021894)

+ Cellpose
+ [Manuscripts](https://github.com/MouseLand/cellpose#citation)
+ [Manuscripts](https://github.com/MouseLand/cellpose#citation)

+ Intern
+ [Manuscript](https://bossdb.org/tools/intern)

+ BossDB
+ [Manuscript](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8885591/)

+ [RRID:SCR_017273](https://scicrunch.org/resolver/SCR_017273)
2 changes: 1 addition & 1 deletion element_zstack/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Package metadata."""
__version__ = "0.1.1"
__version__ = "0.1.2"

0 comments on commit 4f53b14

Please sign in to comment.