Skip to content

Commit 11c2f31

Browse files
committed
Merge branch 'main' of github.com:eclipse-sumo/sumo into Netedit_dev
2 parents baccd7c + 894c31a commit 11c2f31

File tree

129 files changed

+7367
-544
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+7367
-544
lines changed

.github/workflows/docker.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ env:
1414

1515
jobs:
1616
build-and-push-image:
17-
if: github.repository == 'eclipse-sumo/sumo'
1817
runs-on: ubuntu-latest
1918
permissions:
2019
contents: read

.github/workflows/documentation.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
# building the documentation
1414
############################
1515
build-and-internal-link-check:
16-
if: github.repository == 'eclipse-sumo/sumo'
1716
runs-on: ubuntu-latest
1817

1918
steps:

.github/workflows/jupedsim-windows.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ on:
1616

1717
jobs:
1818
build:
19-
if: github.repository == 'DLR-TS/sumo' || github.event_name == 'pull_request'
2019
runs-on: windows-latest
2120
strategy:
2221
# Allow all other matrix-jobs to continue running, even if one of the jobs fails
Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,12 @@ jobs:
4040
python3 -m build -o ../wheelhouse
4141
4242
- name: Building SUMO / libsumo Python wheels (latest manylinux docker)
43-
# if: github.repository == 'DLR-TS/sumo'
4443
uses: docker://quay.io/pypa/manylinux2014_x86_64
4544
with:
4645
entrypoint: tools/build_config/build_wheels.sh
4746

4847
# the next two steps are only needed when we debug the manylinux build
4948
# - name: Building Python wheels (fixed manylinux docker)
50-
# if: github.repository == 'eclipse-sumo/sumo'
5149
# uses: docker://quay.io/pypa/manylinux2014_x86_64:2022-11-14-1226cfc
5250
# with:
5351
# entrypoint: tools/build_config/build_wheels.sh
@@ -98,7 +96,6 @@ jobs:
9896
testenv/bin/python -c "import sumo; print('SUMO_HOME=' + sumo.SUMO_HOME)" >> $GITHUB_ENV
9997
10098
- name: Running "sumo in the wheel" tests
101-
if: github.repository == 'DLR-TS/sumo'
10299
run: |
103100
source testenv/bin/activate
104101
python3 -m pip install -r tools/req_ci.txt -r tools/requirements.txt
@@ -133,7 +130,7 @@ jobs:
133130
# publishing wheels
134131
###################
135132
publish-wheels:
136-
if: github.repository == 'eclipse-sumo/sumo' && (github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags'))
133+
if: github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags')
137134
needs: [test-wheels]
138135
runs-on: ubuntu-latest
139136
permissions:
@@ -143,13 +140,6 @@ jobs:
143140
- name: Downloading Wheels artifact
144141
uses: actions/download-artifact@v4
145142

146-
- name: Publish to Test PyPI
147-
uses: pypa/gh-action-pypi-publish@release/v1
148-
with:
149-
packages-dir: manylinux-wheels/
150-
repository-url: https://test.pypi.org/legacy/
151-
skip-existing: true
152-
153143
- name: Publish to PyPI
154144
if: startsWith(github.ref, 'refs/tags')
155145
uses: pypa/gh-action-pypi-publish@release/v1
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
pipx install texttest
4646
4747
- name: Validate CITATION.cff
48-
if: matrix.build_type == 'full' && github.repository == 'DLR-TS/sumo' && github.event_name == 'schedule' && matrix.compiler == 'gcc'
48+
if: matrix.build_type == 'full' && github.event_name == 'schedule' && matrix.compiler == 'gcc'
4949
uses: dieghernan/cff-validator@v3
5050
with:
5151
install-r: true
@@ -88,11 +88,11 @@ jobs:
8888
make traas
8989
9090
- name: Setting up SonarQube
91-
if: matrix.build_type == 'full' && github.repository == 'eclipse-sumo/sumo' && github.event_name == 'schedule' && matrix.compiler == 'gcc'
91+
if: matrix.build_type == 'full' && github.event_name == 'schedule' && matrix.compiler == 'gcc'
9292
uses: warchant/setup-sonar-scanner@v8
9393

9494
- name: Building SUMO with SonarQube wrapper
95-
if: matrix.build_type == 'full' && github.repository == 'eclipse-sumo/sumo' && github.event_name == 'schedule' && matrix.compiler == 'gcc'
95+
if: matrix.build_type == 'full' && github.event_name == 'schedule' && matrix.compiler == 'gcc'
9696
run: |
9797
cd sumo/cmake-build
9898
curl -L -O https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip
@@ -102,14 +102,13 @@ jobs:
102102
sonar-scanner -Dsonar.token=${{ secrets.SONAR_TOKEN }} -Dsonar.cfamily.compile-commands=cmake-build/bw-output/compile_commands.json
103103
104104
- name: Building and Installing SUMO
105-
if: matrix.build_type != 'full' || github.repository != 'eclipse-sumo/sumo' || github.event_name != 'schedule' || matrix.compiler != 'gcc'
106105
run: |
107106
cd sumo/cmake-build
108107
make -j4
109108
sudo make install
110109
111110
- name: Building Examples and Tests
112-
if: matrix.build_type == 'full' && (github.repository == 'DLR-TS/sumo' || matrix.compiler == 'gcc')
111+
if: matrix.build_type == 'full'
113112
# need to explicitly uninstall matplotlib below because pandas pulls it in but we need a newer version for test stability
114113
# having both installed confuses matplotlib https://github.com/matplotlib/matplotlib/issues/26827
115114
# the pipdeptree below is also just for debugging but often comes handy so keep it enabled
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ jobs:
130130
python3 -c "import sumo; print('SUMO_HOME=' + sumo.SUMO_HOME)" >> $GITHUB_ENV
131131
132132
- name: Running "sumo in the wheel" tests
133-
if: github.repository == 'DLR-TS/sumo'
134133
run: |
135134
if [[ "${{ matrix.python_version }}" != "3.12" ]]; then python3 -m pip install -r tools/requirements.txt; fi
136135
tests/runTests.sh -b ci -v ci.fast -a activitygen,duarouter,jtrrouter,marouter,od2trips,polyconvert
@@ -173,7 +172,7 @@ jobs:
173172
# publishing wheels
174173
###################
175174
publish-wheels:
176-
if: github.repository == 'eclipse-sumo/sumo' && (github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags'))
175+
if: github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags')
177176
needs: [test-wheels]
178177
runs-on: ubuntu-latest
179178
permissions:
@@ -185,13 +184,6 @@ jobs:
185184
path: python-wheels
186185
merge-multiple: true
187186

188-
- name: Publish to Test PyPI
189-
uses: pypa/gh-action-pypi-publish@release/v1
190-
with:
191-
packages-dir: python-wheels/
192-
repository-url: https://test.pypi.org/legacy/
193-
skip-existing: true
194-
195187
- name: Publish to PyPI
196188
if: startsWith(github.ref, 'refs/tags')
197189
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/sync-upstream.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/wheel-cibw.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ jobs:
112112
python3 -c "import sumo; print('SUMO_HOME=' + sumo.SUMO_HOME)" >> $GITHUB_ENV
113113
114114
- name: Running "sumo in the wheel" tests
115-
if: github.repository == 'DLR-TS/sumo'
116115
run: |
117116
if [[ "${{ matrix.python_version }}" != "3.12" ]]; then python3 -m pip install -r tools/requirements.txt; fi
118117
tests/runTests.sh -b ci -v ci.fast -a activitygen,duarouter,jtrrouter,marouter,od2trips,polyconvert
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ jobs:
160160
python -c "import sumo; print('SUMO_HOME=' + sumo.SUMO_HOME)" >> $env:GITHUB_ENV
161161
162162
- name: Running "sumo in the wheel" tests
163-
if: github.repository == 'DLR-TS/sumo'
164163
run: |
165164
python -m pip install -r tools/req_ci.txt -r tools/requirements.txt
166165
$env:TEXTTEST_CI_APPS = "-v ci.fast -a activitygen,dfrouter,duarouter,jtrrouter,marouter,netgen,od2trips,polyconvert,netconvert,sumo"
@@ -169,7 +168,6 @@ jobs:
169168
# tests\runCiTests.bat $env:pythonLocation\Scripts\texttestc.py
170169

171170
- name: Running "sumo in the wheel" meta tests
172-
if: github.repository != 'DLR-TS/sumo'
173171
run: |
174172
$env:TEXTTEST_CI_APPS = "-ts meta"
175173
tests\runCiTests.bat $env:pythonLocation\Scripts\texttestc.py
@@ -199,7 +197,7 @@ jobs:
199197
# publishing wheels
200198
###################
201199
publish-wheels:
202-
if: github.repository == 'eclipse-sumo/sumo' && (github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags'))
200+
if: github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags')
203201
needs: [test-wheels]
204202
runs-on: ubuntu-latest
205203
permissions:
@@ -216,12 +214,6 @@ jobs:
216214
mv ./*-wheels/* dist
217215
rm -f dist/sumolib* dist/traci*
218216
219-
- name: Publish to Test PyPI
220-
uses: pypa/gh-action-pypi-publish@release/v1
221-
with:
222-
repository-url: https://test.pypi.org/legacy/
223-
skip-existing: true
224-
225217
- name: Publish to PyPI
226218
if: startsWith(github.ref, 'refs/tags')
227219
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)