-
Notifications
You must be signed in to change notification settings - Fork 0
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
depending on newer dapla-toolbelt for dependabot #64
Conversation
.github/workflows/tests.yml
Outdated
@@ -141,7 +141,7 @@ jobs: | |||
- name: Download coverage data | |||
uses: actions/download-artifact@v4 | |||
with: | |||
name: coverage-data | |||
name: coverage-data-ubuntu-latest-3.10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to hardcode. Use cruft update
to update template with fixes for this, Or look at https://github.com/statisticsnorway/ssb-pypitemplate-instance/blob/main/.github/workflows/tests.yml#L143-L147
|
Github actions regularly fail, because artifacts are being overwritten to the same location with v4 of actions/upload-artifact@v4
This is a workaround, where the OS and pythonversion is appended to the artifact names to avoid collision.
The worst part is how "ubuntu-latest-3.10" is hard-coded... Would be nice to be able to do something like
{{ matrix.os[0] }}
but I dont think thats possible...Also @sebrothe reported that his mypy was having a hard time understanding my "dynamic imports" in __init__.py so I rewrote it to a more common python syntax, actually listing things twice... (Which was what I was trying to avoid.)