@@ -4,7 +4,7 @@ name: datetime_tz
4
4
agent :
5
5
machine :
6
6
type : f1-standard-2
7
- os_image : ubuntu2004
7
+ os_image : ubuntu2204
8
8
9
9
10
10
blocks :
@@ -21,12 +21,8 @@ blocks:
21
21
jobs :
22
22
- name : " Unit tests 3.9"
23
23
commands :
24
- - " export PUBLISH_JUNIT_REPORT=true" # Export junit report from this job
25
- - " python3.9 -m pip install -e .[all]"
26
- - " python3.9 -m pytest tests"
27
- # Test without pydantic as well
28
- - " python3.9 -m pip uninstall pydantic -y"
29
- - " python3.9 -m pytest tests --ignore-glob \" ./tests/pydantic_*.py\" "
24
+ # Semaphore does not have python3.11, so we run the tests using a Dockerfile
25
+ - " sudo docker build --build-arg PYTHON_VERSION=3.9.13 -t py309 . && sudo docker run py309"
30
26
31
27
- name : " Unit tests 3.10"
32
28
commands :
@@ -40,8 +36,12 @@ blocks:
40
36
41
37
- name : " Unit tests 3.12"
42
38
commands :
43
- # Semaphore does not have python3.12, so we run the tests using a Dockerfile
44
- - " sudo docker build --build-arg PYTHON_VERSION=3.12.1 -t py312 . && sudo docker run py312"
39
+ - " export PUBLISH_JUNIT_REPORT=true" # Export junit report from this job
40
+ - " python3.12 -m pip install -e .[all]"
41
+ - " python3.12 -m pytest tests"
42
+ # Test without pydantic as well
43
+ - " python3.12 -m pip uninstall pydantic -y"
44
+ - " python3.12 -m pytest tests --ignore-glob \" ./tests/pydantic_*.py\" "
45
45
46
46
- name : " Unit tests 3.13"
47
47
commands :
0 commit comments