Skip to content

Commit

Permalink
switch from installing via requirements.txt to install .[]
Browse files Browse the repository at this point in the history
  • Loading branch information
gadfort committed Apr 28, 2023
1 parent 12c3c84 commit 6401575
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/daily_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,5 @@ jobs:
source clean_env/bin/activate
cd $GITHUB_WORKSPACE
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
python3 -m pip install -e .
python3 -m pip install .[test]
pytest -n auto --import-mode=append
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ jobs:
- name: Install Requirements
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r ./requirements.txt
python3 -m pip install .[test]
- name: Lint with Flake8
run: flake8 --statistics .
3 changes: 2 additions & 1 deletion .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ jobs:
python-version: ${{ matrix.version.python }}

- run: |
pip install $GITHUB_WORKSPACE/.[test]
python3 -m pip install --upgrade pip
python3 -m pip install .[test]
pytest --import-mode=append -m "not eda"
3 changes: 1 addition & 2 deletions .github/workflows/tools_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,5 @@ jobs:
source clean_env/bin/activate
cd $GITHUB_WORKSPACE
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
python3 -m pip install -e .
python3 -m pip install .[test]
pytest -n auto --import-mode=append -m "eda and quick"

0 comments on commit 6401575

Please sign in to comment.