Skip to content

Commit fe24d09

Browse files
authored
Merge pull request #41 from kabilar/main
Update GitHub Actions
2 parents 09c75c1 + 5a89f2c commit fe24d09

File tree

15 files changed

+74
-232
lines changed

15 files changed

+74
-232
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: DataJoint Contribution Guideline
4-
url: https://docs.datajoint.org/python/community/02-Contribute.html
4+
url: https://datajoint.com/docs/community/contribute/
55
about: Please make sure to review the DataJoint Contribution Guidelines

.github/workflows/development.yaml

Lines changed: 0 additions & 147 deletions
This file was deleted.

.github/workflows/release.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
make_github_release:
6+
uses: datajoint/.github/.github/workflows/make_github_release.yaml@main
7+
pypi_release:
8+
needs: make_github_release
9+
uses: datajoint/.github/.github/workflows/pypi_release.yaml@main
10+
secrets:
11+
TWINE_USERNAME: ${{secrets.TWINE_USERNAME}}
12+
TWINE_PASSWORD: ${{secrets.TWINE_PASSWORD}}
13+
with:
14+
UPLOAD_URL: ${{needs.make_github_release.outputs.release_upload_url}}
15+
mkdocs_release:
16+
uses: datajoint/.github/.github/workflows/mkdocs_release.yaml@main
17+
permissions:
18+
contents: write

.github/workflows/test.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
jobs:
7+
tests:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
py_ver: ["3.9", "3.10"]
12+
mysql_ver: ["8.0", "5.7"]
13+
include:
14+
- py_ver: "3.8"
15+
mysql_ver: "5.7"
16+
- py_ver: "3.7"
17+
mysql_ver: "5.7"
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up Python ${{matrix.py_ver}}
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{matrix.py_ver}}
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install flake8 "black[jupyter]"
28+
- name: Run style tests
29+
run: |
30+
python_version=${{matrix.py_ver}}
31+
black element_animal --check --verbose --target-version py${python_version//.}
32+

.github/workflows/u24_element_before_release.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/u24_element_release_call.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/u24_element_tag_to_release.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
44
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.
55

6-
## [0.1.7] - 2023 05-11
6+
## [0.1.8] - 2023-06-20
7+
8+
+ Update - GitHub Actions workflows
9+
+ Fix - Remove Google Analytics key
10+
11+
## [0.1.7] - 2023-05-11
712

813
+ Fix - `.ipynb` dark mode output for all notebooks.
914
+ Update - CHANGELOG markdown from "-" to "+" for consistency with other
@@ -53,6 +58,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
5358
+ Add - `subject` schema
5459
+ Add - `genotyping` schema
5560

61+
[0.1.8]: https://github.com/datajoint/element-animal/releases/tag/0.1.8
5662
[0.1.7]: https://github.com/datajoint/element-animal/releases/tag/0.1.7
5763
[0.1.6]: https://github.com/datajoint/element-animal/releases/tag/0.1.6
5864
[0.1.5]: https://github.com/datajoint/element-animal/releases/tag/0.1.5

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![PyPI version](https://badge.fury.io/py/element-animal.svg)](http://badge.fury.io/py/element-animal)
2+
13
# Element Animal
24

35
DataJoint Element for storing animal meta data, genotype, and surgery information.

docs/.docker/pip_requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ mdx-truly-sane-lists
77
mkdocs-gen-files
88
mkdocs-literate-nav
99
mkdocs-exclude-search
10-
mkdocs-markdownextradata-plugin
10+
mkdocs-markdownextradata-plugin
11+
mkdocs-jupyter
12+
mkdocs-section-index

0 commit comments

Comments
 (0)