Skip to content

Commit

Permalink
Always pip install -e in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Mar 13, 2024
1 parent d477eb4 commit 21c3075
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
# This assumes pytest is installed via the install-package step above
command: |
# we don't need any other dependencies
python3 -m pip install .[test]
python3 -m pytest -k 'not interfaces and not __init__.py'
python3 -m pip -e install .[test]
bash scripts/check_coverage.sh
# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
python-version: '3.9'

- run: |
python -m pip install .[docs,test,dev]
python -m pip install -e .[docs,test,dev]
- run: bash scripts/check_syntax.sh

Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- run: |
python -m pip install .[test]
python -m pip install -e .[test]
- name: Run tests
run: bash scripts/check_coverage.sh
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:

- name: Install project and CLASS
run: |
python -m pip install .[test]
python -m pip install -e .[test]
python -m pip install Cython
git clone --depth 1 --branch feature/conda https://github.com/JCGoran/class_public && cd class_public && make classy && cd -
- name: Run CLASS tests
Expand All @@ -113,7 +113,7 @@ jobs:

- name: Install project and COFFE
run: |
python -m pip install .[test]
python -m pip install -e .[test]
python -m pip install coffe
- name: Run COFFE tests
Expand All @@ -136,7 +136,7 @@ jobs:

- name: Install project and CAMB
run: |
python -m pip install .[test]
python -m pip install -e .[test]
python -m pip install camb
- name: Run CAMB tests
Expand Down

0 comments on commit 21c3075

Please sign in to comment.