Skip to content

Commit 1b9177d

Browse files
committed
adjust dependencies
1 parent c52f15f commit 1b9177d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
CARTES_CACHE: ./cache
9494
OPENSKY_CACHE: ./cache
9595
OPENSKY_CACHE_NO_EXPIRE:
96-
TRAFFIC_NM_PATH: /home/runner/work/traffic/traffic/traffic_data/airac_2111
96+
TRAFFIC_NM_PATH: ${{ github.workspace }}/traffic_data/airac_2111
9797
TRAFFIC_TQDM_STYLE: silent
9898
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9999
run: |

.github/workflows/run-tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,11 @@ jobs:
9090
~/.cache/traffic/
9191
key: traffic-${{ hashFiles('uv.lock') }}
9292

93-
- name: Ubuntu system dependencies
94-
run: |
95-
sudo apt update
96-
sudo apt install -y libgdal-dev libgeos-dev libproj-dev proj-bin proj-data
93+
# - name: Ubuntu system dependencies
94+
# if: ${{ matrix.os == 'ubuntu-latest' }}
95+
# run: |
96+
# sudo apt update
97+
# sudo apt install -y libgdal-dev libgeos-dev libproj-dev proj-bin proj-data
9798

9899
- name: Install project
99100
run: |
@@ -195,7 +196,7 @@ jobs:
195196
- name: Run tests
196197
env:
197198
LD_LIBRARY_PATH: /usr/local/lib
198-
TRAFFIC_NM_PATH: /home/runner/work/traffic/traffic/traffic_data/airac_2111
199+
TRAFFIC_NM_PATH: ${{ github.workspace }}/traffic_data/airac_2111
199200
run: |
200201
uv run traffic cache --fill # download files to have in cache first
201202
uv run pytest --cov --cov-report xml -m ""

0 commit comments

Comments
 (0)