-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
482 additions
and
359 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
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.9"] | ||
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.10"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -21,13 +21,13 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install/update package management dependencies | ||
run: python -m pip install --upgrade pip setuptools wheel | ||
- name: Update pip | ||
run: python -m pip install --upgrade pip | ||
- name: Build and install slixmpp-omemo | ||
run: pip install . | ||
- name: Install test dependencies | ||
run: | | ||
pip install --upgrade pytest pytest-asyncio pytest-cov mypy pylint flake8 | ||
pip install --upgrade pytest pytest-asyncio pytest-cov mypy pylint flake8 setuptools | ||
- name: Type-check using mypy | ||
run: mypy --strict --disable-error-code str-bytes-safe --untyped-calls-exclude=slixmpp slixmpp_omemo/ setup.py examples/ tests/ | ||
|
@@ -58,6 +58,8 @@ jobs: | |
publish: | ||
needs: [test, build] | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') | ||
|
||
steps: | ||
|
@@ -66,7 +68,5 @@ jobs: | |
path: dist | ||
merge-multiple: true | ||
|
||
- uses: pypa/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.pypi_token }} | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
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.