-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: initial release of eventlib-py
- Loading branch information
0 parents
commit 8853a75
Showing
32 changed files
with
4,149 additions
and
0 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,8 @@ | ||
*.png filter=lfs diff=lfs merge=lfs -text | ||
*.jpeg filter=lfs diff=lfs merge=lfs -text | ||
*.jpg filter=lfs diff=lfs merge=lfs -text | ||
*.bmp filter=lfs diff=lfs merge=lfs -text | ||
*.svg filter=lfs diff=lfs merge=lfs -text | ||
*.sketch filter=lfs diff=lfs merge=lfs -text | ||
*.pkl filter=lfs diff=lfs merge=lfs -text | ||
*.npz filter=lfs diff=lfs merge=lfs -text |
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,38 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
env: | ||
python_version: 3.11 | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
released: ${{ steps.release.outputs.released }} | ||
version: ${{ steps.release.outputs.version }} | ||
tag: ${{ steps.release.outputs.tag }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install poetry & python-semantic-release | ||
run: pipx install poetry~=1.8.3 python-semantic-release~=9.8.6 | ||
|
||
- name: Set up Python ${{ env.python_version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ env.python_version }} | ||
cache: "poetry" | ||
|
||
- name: Python Semantic Release | ||
id: release | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GIT_COMMIT_AUTHOR: "github-actions <actions@github.com>" | ||
run: | | ||
semantic-release --strict version --commit |
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,40 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python_version: ["3.11", "3.12"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install poetry | ||
run: pipx install poetry~=1.8.3 | ||
|
||
- name: Set up Python ${{ matrix.python_version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python_version }} | ||
cache: 'poetry' | ||
|
||
- name: Install dependencies | ||
run: poetry install --with=dev --with=benchmark --all-extras --no-interaction | ||
- name: Black | ||
run: poetry run black --check . | ||
- name: Isort | ||
run: poetry run isort --check-only . | ||
- name: Mypy | ||
run: poetry run mypy . | ||
- name: Pylint | ||
run: poetry run pylint | ||
- name: Pytest | ||
run: poetry run pytest --cov |
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,30 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
|
||
# Distribution / packaging | ||
build/ | ||
*.egg-info/ | ||
*.egg | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Environments | ||
venv/ | ||
.venv/ | ||
|
||
# Tools | ||
.mypy_cache/ | ||
.pytest_cache/ | ||
.coverage | ||
|
||
# IDEs | ||
.idea | ||
.vcode | ||
|
||
# OS | ||
.DS_Store | ||
|
||
# Benchmark files | ||
*.json |
Oops, something went wrong.