Skip to content
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

chore: Small cleanup of urls and codecov settings #59

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 2

env:
# pyoci.com scales down to 0 replicas
# allow a longer request time if a cold start is needed
POETRY_REQUESTS_TIMEOUT: 30

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
15 changes: 11 additions & 4 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true

comment:
layout: "condensed_header, condensed_files, condensed_footer"
hide_project_coverage: true
ignore:
- "src/cf.rs" # Requires a WASM async runtime, build checks compilation, examples check runtime.
layout: "condensed_header, condensed_files"
hide_project_coverage: false
2 changes: 1 addition & 1 deletion docs/examples/poetry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ When published successfully, the package should show up in the registry with 2 a

To install the package:
```bash
poetry source add --priority=explicit pyoci https://pyoci.allexveldman.nl/ghcr.io/allexveldman/
poetry source add --priority=explicit pyoci https://pyoci.com/ghcr.io/allexveldman/
poetry config http-basic.pyoci <username> <password>
poetry add hello-world --source pyoci-ghcr-allexveldman
```
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/poetry/install/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ hello-world = {version = "^0.0.1", source = "pyoci"}

[[tool.poetry.source]]
name = "pyoci"
url = "https://pyoci.allexveldman.nl/ghcr.io/allexveldman/"
url = "https://pyoci.com/ghcr.io/allexveldman/"
priority = "explicit"

[build-system]
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/poetry/publish/poetry.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[repositories.pyoci]
url = "https://pyoci.allexveldman.nl/ghcr.io/allexveldman/"
url = "https://pyoci.com/ghcr.io/allexveldman/"
Loading