6161 with :
6262 path : main
6363
64+ - name : Set up Python 3.13
65+ uses : actions/setup-python@v5
66+ with :
67+ python-version : " 3.13"
68+ architecture : ${{ matrix.architecture }}
69+
70+ - name : Install dependencies
71+ run : |
72+ python -m pip install --upgrade pip
73+ python -m pip install .
74+ python -m pip install --group dev
75+
76+ - name : Validate version
77+ run : |
78+ EXPECTED_GITHUB_REF=$(mapillary_tools --version | awk '{print "refs/tags/v" $3}')
79+ if [[ "$EXPECTED_GITHUB_REF" != "$GITHUB_REF" ]]; then
80+ echo "Version mismatch: $EXPECTED_GITHUB_REF != $GITHUB_REF"
81+ exit 1
82+ fi
83+ if : matrix.platform != 'windows-latest'
84+
6485 # https://github.com/actions/checkout#Checkout-multiple-repos-side-by-side
6586 # pull into mapillary/mapillary_tools/exiftool
6687 - name : Setup ExifTool
@@ -82,29 +103,8 @@ jobs:
82103 # Error: setup-ffmpeg can only be run on 64-bit systems
83104 if : matrix.architecture == 'x64'
84105
85- - name : Set up Python 3.11
86- uses : actions/setup-python@v5
87- with :
88- python-version : " 3.11"
89- architecture : ${{ matrix.architecture }}
90-
91- - name : Install dependencies
92- run : |
93- python -m pip install --upgrade pip
94- python -m pip install .
95- python -m pip install --group dev
96-
97- - name : Validate version
98- run : |
99- EXPECTED_GITHUB_REF=$(mapillary_tools --version | awk '{print "refs/tags/v" $3}')
100- if [[ "$EXPECTED_GITHUB_REF" != "$GITHUB_REF" ]]; then
101- echo "Version mismatch: $EXPECTED_GITHUB_REF != $GITHUB_REF"
102- exit 1
103- fi
104- if : matrix.platform != 'windows-latest'
105-
106106 - name : Build and test with Pyinstaller on MacOS
107- # Enable for Python3.11 only because it often fails at codesign (subprocess timeout)
107+ # Enable for Python3.13 only because it often fails at codesign (subprocess timeout)
108108 if : startsWith(matrix.platform, 'macos')
109109 run : |
110110 ./script/build_osx
0 commit comments