Skip to content

Commit

Permalink
update pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
yalayoubi committed Jul 27, 2024
1 parent bd4b60c commit b875825
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python -m pip install --upgrade pip wheel
python --version
pip install flake8 pytest pytest-cov pytest-html
pip install .
pip install -e .
- name: Linting
run: flake8 scanpro setup.py tests --ignore=E501,W503 --extend-exclude=scanpro/__init__.py
- name: Test
Expand Down
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ tests:
- pip install pytest
- pip install pytest-cov
- pip install pytest-html
- pip install . # install package
- pip install -e . # install package
- cd tests/ # move to prevent pytest from loading local modules
- pytest --import-mode=importlib --cov-report=term --cov=scanpro . --junitxml=../pytest.xml --cov-report html:../htmlcov
artifacts:
Expand All @@ -94,7 +94,7 @@ build-pages:
- pip install nbsphinx
- pip install nbsphinx_link
- pip freeze | grep sphinx
- pip install . # install package
- pip install -e . # install package
- cd docs
- make html
artifacts:
Expand Down

0 comments on commit b875825

Please sign in to comment.