-
Notifications
You must be signed in to change notification settings - Fork 3
Version 2.1.0 with support for Shapeshifer 3.1.0 #20
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
Changes from all commits
c86ea1b
034b332
eae9678
2eb7b1e
f0a829a
95df308
6861303
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,26 +1,26 @@ | |||||||||||||||||||||||||||||
| name: Python Test | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| on: | |||||||||||||||||||||||||||||
| push: | |||||||||||||||||||||||||||||
| paths: | |||||||||||||||||||||||||||||
| - '**.py' | |||||||||||||||||||||||||||||
| push: {} | |||||||||||||||||||||||||||||
| workflow_dispatch: {} | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| jobs: | |||||||||||||||||||||||||||||
| python-test: | |||||||||||||||||||||||||||||
| name: python | |||||||||||||||||||||||||||||
| runs-on: ubuntu-latest | |||||||||||||||||||||||||||||
| strategy: | |||||||||||||||||||||||||||||
| matrix: | |||||||||||||||||||||||||||||
| python-version: | |||||||||||||||||||||||||||||
| - "3.11" | |||||||||||||||||||||||||||||
| - "3.12" | |||||||||||||||||||||||||||||
| - "3.13" | |||||||||||||||||||||||||||||
| steps: | |||||||||||||||||||||||||||||
| - name: Checkout Source | |||||||||||||||||||||||||||||
| uses: actions/checkout@v4 | |||||||||||||||||||||||||||||
| - name: Set up Python | |||||||||||||||||||||||||||||
| uses: actions/setup-python@v5 | |||||||||||||||||||||||||||||
| with: | |||||||||||||||||||||||||||||
| python-version: 3.11 | |||||||||||||||||||||||||||||
| - name: Install Dependencies | |||||||||||||||||||||||||||||
| run: | | |||||||||||||||||||||||||||||
| python -m pip install --upgrade pip | |||||||||||||||||||||||||||||
| pip install . | |||||||||||||||||||||||||||||
| pip install .[dev] | |||||||||||||||||||||||||||||
| - name: Run Tests | |||||||||||||||||||||||||||||
| run: | | |||||||||||||||||||||||||||||
| pip install pytest pytest-cov | |||||||||||||||||||||||||||||
| pytest | |||||||||||||||||||||||||||||
| - uses: actions/checkout@v5 | |||||||||||||||||||||||||||||
| - name: Install uv and set the Python version | |||||||||||||||||||||||||||||
| uses: astral-sh/setup-uv@v6 | |||||||||||||||||||||||||||||
| with: | |||||||||||||||||||||||||||||
| python-version: ${{ matrix.python-version }} | |||||||||||||||||||||||||||||
| - name: Install the project | |||||||||||||||||||||||||||||
| run: uv sync --locked --all-extras --dev | |||||||||||||||||||||||||||||
| - name: Run tests | |||||||||||||||||||||||||||||
|
Comment on lines
+9
to
+25
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium test
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Copilot AutofixAI 5 months ago To fix this problem, you should explicitly set the least privileges needed by the workflow job. In this specific workflow, the job only needs to check out the code and install dependencies to run tests; it does not need write access. Thus, adding a Edit the permissions:
contents: readNo new methods, imports, or definitions are required since this is a YAML workflow configuration.
Suggested changeset
1
.github/workflows/test.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Refresh and try again.
|
|||||||||||||||||||||||||||||
| run: uv run pytest | |||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| Changelog | ||
| --------- | ||
|
|
||
| - v2.1.0 (2025-09-07) | ||
| - Support for Shapeshifter 3.1.0 | ||
| - v2.0.1 (2025-07-08) | ||
| - Bumped fastapi-xml depedency version | ||
| - v2.0.0 (2025-07-08) | ||
| - Support for OAuth2 on outgoing messages | ||
| - Updated depedencies | ||
| - v1.2.0 (2024-04-04) | ||
| - Upgrade to latest FastAPI and Pydantic | ||
| - v1.1.2 (2024-03-12) | ||
| - Pinned depedencies after a breaking update to fastapi-xml was released | ||
| - v1.1.0 (2023-08-30) | ||
| - Use the published 3.0.0 spec for XSD validation and objects | ||
| - v1.0.1 (2023-08-23) | ||
| - Fixed outgoing signed message base 64 encoding | ||
| - Add support for empty response messages | ||
| - v1.0.0 (2023-07-20) | ||
| - Initial release version |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.