-
Notifications
You must be signed in to change notification settings - Fork 4
chore: add semantic release #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
9cef706
chore: add uv for python sdk
juliette0704 e25a01c
chore: syntax yml
juliette0704 d792cfc
chore: order for yml test install uv
juliette0704 3c213b2
chore: add package find in pyproject
juliette0704 5e5952c
chore: add build system in pyproject
juliette0704 299401b
chore: add semantic release
juliette0704 f345291
chore: add more info into pyproject
juliette0704 4683545
chore: add more info into pyproject
juliette0704 912caa9
fix: add missing import and rename
juliette0704 fd8f665
chore: erase step set up python
juliette0704 ac53d42
chore: use hatchling instead of setuptools in pyproject
juliette0704 1b8e5a0
chore/merge uv and add semantic release
juliette0704 a48f860
Merge branch 'main' into chore/add_semantic_release
juliette0704 637f6ff
feat: add uv with semantic release
juliette0704 86c7dd7
chore: erase useless depenency in the uv lock
juliette0704 e34029f
chore: add spaces
juliette0704 8d2d6ec
fix: test
juliette0704 221784a
fix: test local release
juliette0704 6ac9c15
1.3.0
7b154b3
fix: test local release
juliette0704 2dd575f
fix: semantic release adapt with uv
juliette0704 e62872c
chore: stay on version 0.x
juliette0704 cec8c6e
chore: stay on version 0.x
juliette0704 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,24 @@ | ||
| name: Semantic Release | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| release: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: "3.10" | ||
|
|
||
| - name: Install dependencies | ||
|
juliette0704 marked this conversation as resolved.
|
||
| run: | | ||
| pip install -U pip | ||
| pip install python-semantic-release | ||
| - name: Run semantic-release | ||
| env: | ||
| GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
| run: semantic-release publish | ||
|
juliette0704 marked this conversation as resolved.
Outdated
|
||
This file contains hidden or 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 hidden or 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,17 +1,16 @@ | ||
| install: | ||
| @echo "Installing local package..." | ||
| pip install . | ||
| install-dev: | ||
| @echo "Installing local package in developper mode..." | ||
| pip install -e . | ||
| pip install -r requirements-dev.txt | ||
| pre-commit install | ||
| @echo "Installing local package..." | ||
| uv sync | ||
| uv run pre-commit install | ||
| test: | ||
| @echo "Running tests..." | ||
| pre-commit run --all-files | ||
| mypy . | ||
| uv run pre-commit run --all-files | ||
| uv run mypy . | ||
| # Follow the test practices recommanded by LangChain (v0.3) | ||
| # See https://python.langchain.com/docs/contributing/how_to/integrations/standard_tests/ | ||
| pytest --cov=linkup/ --cov-report term-missing --disable-socket --allow-unix-socket tests/unit_tests | ||
| uv run pytest --cov=src/linkup/ --cov-report term-missing --disable-socket --allow-unix-socket tests/unit_tests | ||
| # TODO: uncomment the following line when integration tests are ready | ||
| # pytest tests/integration_tests | ||
| release: | ||
| @echo "Running semantic release..." | ||
| semantic-release publish | ||
|
cjumel marked this conversation as resolved.
Outdated
|
||
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.