Skip to content

Commit

Permalink
refactor: Update workflows to install from pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
r-leyshon committed Jul 9, 2024
1 parent 0f5bfee commit 6708643
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install '.[test]'
- name: Install java
uses: actions/setup-java@v3
with:
Expand All @@ -49,4 +49,4 @@ jobs:
shell: sh
- name: Run Integration Tests Only
run: |
pytest -m runinteg --runinteg --ignore tests/analyse_network --ignore tests/test_analyse_network.py --deselect tests/gtfs/test_gtfs_utils.py::TestBboxFilterGtfs::test_bbox_filter_gtfs_to_date_builds_network
pytest -m runinteg --runinteg --ignore tests/analyse_network --ignore tests/test_analyse_network.py
2 changes: 1 addition & 1 deletion .github/workflows/python-package-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install '.[test]'
- name: Install java
uses: actions/setup-java@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-package-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install '.[dev,test]'
- name: Install java
uses: actions/setup-java@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-package-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install '.[test]'
pip install kaleido==0.1.0.post1 # fixing kaleido version within runner, known issue: https://github.com/plotly/Kaleido/issues/134
- name: Run 'base' Tests
run: |
pytest --ignore tests/osm/ --ignore tests/analyse_network --ignore tests/test_analyse_network.py --deselect tests/gtfs/test_gtfs_utils.py::TestBboxFilterGtfs::test_bbox_filter_gtfs_to_date_builds_network
pytest --ignore tests/osm/ --ignore tests/analyse_network --ignore tests/test_analyse_network.py
2 changes: 1 addition & 1 deletion .github/workflows/quarto-render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install '.[docs]'
- name: Install java
uses: actions/setup-java@v3
with:
Expand Down

0 comments on commit 6708643

Please sign in to comment.