-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add build and release workflow (#12)
* Bump gitpython from 3.1.40 to 3.1.41 in /anomaly-detector (#4) Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.40 to 3.1.41. - [Release notes](https://github.com/gitpython-developers/GitPython/releases) - [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES) - [Commits](gitpython-developers/GitPython@3.1.40...3.1.41) --- updated-dependencies: - dependency-name: gitpython dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jinja2 from 3.1.2 to 3.1.3 in /anomaly-detector (#6) Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](pallets/jinja@3.1.2...3.1.3) --- updated-dependencies: - dependency-name: jinja2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * add build workflow * add build workflow * add build workflow * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * test poetry install * merge --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
8bb1766
commit 24e8554
Showing
13 changed files
with
523 additions
and
286 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,49 @@ | ||
name: publish_release | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# - name: Set up Python | ||
# uses: actions/setup-python@v5 | ||
# with: | ||
# python-version: 3.11 | ||
|
||
- name: Build project | ||
run: | | ||
pip install Cython | ||
pip install numpy | ||
python setup.py sdist bdist_wheel | ||
- name: Create Draft Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
# TODO | ||
tag_name: 0.1.0 | ||
release_name: 0.1.0 | ||
draft: true | ||
prerelease: false | ||
|
||
- name: Upload Release Asset | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/anomaly_detector-0.1.0-cp310-cp310-linux_x86_64.whl | ||
asset_name: anomaly_detector-0.1.0-cp310-cp310-linux_x86_64.whl | ||
asset_content_type: application/whl | ||
|
||
- uses: eregon/publish-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
release_id: ${{ steps.create_release.outputs.id }} |
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,7 +1,7 @@ | ||
recursive-include anomaly-detector/*.pyx | ||
recursive-include anomaly-detector/*.c | ||
recursive-include anomaly-detector/*.h | ||
recursive-include anomaly-detector/*.py | ||
recursive-include anomaly-detector/*.txt | ||
recursive-include anomaly-detector/anomaly_detector/univariate * | ||
include setup.py | ||
recursive-include ./anomaly-detector/*.pyx | ||
recursive-include ./anomaly-detector/*.c | ||
recursive-include ./anomaly-detector/*.h | ||
recursive-include ./anomaly-detector/*.py | ||
recursive-include ./anomaly-detector/*.txt | ||
recursive-include ./anomaly-detector/anomaly_detector/univariate * | ||
include ./setup.py |
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
1 change: 1 addition & 0 deletions
1
anomaly-detector/anomaly_detector/univariate/univariate_anomaly_detection.py
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.