Skip to content

Commit

Permalink
Forgot to install Python for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
npanuhin committed Dec 8, 2024
1 parent c3e8c3c commit b32648d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,20 @@ jobs:
with:
submodules: true

- name: Install dependencies
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pip

- name: Install Python dependencies
run: |
pip install -r scripts/requirements.txt
- name: Install C++ dependencies
run: |
sudo apt update
sudo apt install qt6-base-dev
sudo apt install cmake qt6-base-dev
- name: Compile C++
run: |
Expand Down
4 changes: 2 additions & 2 deletions scripts/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
import os

assert sys.version_info >= (3, 11), 'Python 3.11 or later required'
assert sys.version_info >= (3, 11), f'Python 3.11 or later required, got {".".join(map(str, sys.version_info))}'

from src.utils import mkpath_root
from src.convert_transfers import convert_transfers
Expand All @@ -14,7 +14,7 @@

cities = [
# ('rome', date(2020, 3, 24)), # GTFS data date: 24 March 2020
# ('paris', date(2021, 3, 25)), # GTFS data date: 25 March 2021
('paris', date(2021, 3, 25)), # GTFS data date: 25 March 2021
('hamburg', date(2020, 3, 20)) # GTFS data date: 20 March 2020
]

Expand Down

0 comments on commit b32648d

Please sign in to comment.