Skip to content

Commit

Permalink
core\refac: #45 rm requirements
Browse files Browse the repository at this point in the history
- remove requirements
- ci runtime with poetry
  • Loading branch information
blotero committed May 7, 2024
1 parent f7247fe commit c26a263
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 161 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@ jobs:
run: |
cd core
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install poetry
poetry install
- name: Run pytest
run: |
cd core
python -m pytest -m "not with_crowd_seg_data"
poetry run pytest -m "not with_crowd_seg_data"
lint-core:
runs-on: ubuntu-22.04
Expand All @@ -65,17 +66,18 @@ jobs:
run: |
cd core
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install poetry
poetry install
- name: Run mypy
run: |
cd core
python -m mypy seg_tgce
poetry run mypy seg_tgce
- name: Run pylint
run: |
cd core
python -m pylint seg_tgce
poetry run pylint seg_tgce
lint-docs:
runs-on: ubuntu-22.04
Expand Down
156 changes: 0 additions & 156 deletions core/requirements.txt

This file was deleted.

0 comments on commit c26a263

Please sign in to comment.