-
Notifications
You must be signed in to change notification settings - Fork 3
Upgrade Semaphore CI image to 22.04 #17
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
Conversation
It seems the Ubuntu 22.04 semaphore image doesn't have python 3.9 installed, we can use Docker instead like we do for other python versions: https://github.com/channable/heliclockter/blob/master/.semaphore/semaphore.yml#L39 |
- "export PUBLISH_JUNIT_REPORT=true" # Export junit report from this job | ||
- "python3.9 -m pip install -e .[all]" | ||
- "python3.9 -m pytest tests" | ||
# Test without pydantic as well | ||
- "python3.9 -m pip uninstall pydantic -y" | ||
- "python3.9 -m pytest tests --ignore-glob \"./tests/pydantic_*.py\"" |
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.
Ah now we don't have this mechanism anymore where we run tests with and without pydantic anymore. Could you move that to the latest version of Python that's supported on this ubuntu2204
image?
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.
LGTM!
We could also stop using docker for 3.11 because I assume that if the semaphore image has 3.10 and 3.12, it also has 3.11. But doesn't really matter.
@OpsBotPrime merge |
Approved-by: nishit-ndgr Priority: Normal Auto-deploy: false
Rebased as 0d85df5, waiting for CI … |
CI job 🟡 started. |
dfe15ad
to
0d85df5
Compare
Description
Part of #12385
Upgrades Semaphore CI image from 20.04 to 22.04