Skip to content

Commit

Permalink
use pinned requirements files in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Nov 26, 2024
1 parent 4aaede5 commit 6462dc7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements/minimal.txt
pip install -r requirements/docs.txt
pip install -r requirements_minimal_CI.txt
pip install -r requirements_docs_CI.txt
python -m pip install build packaging
- name: Build package
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

- name: Install dependencies
run: |
pip install -r requirements/minimal.txt
pip install -r requirements/lint.txt
pip install -r requirements_minimal_CI.txt
pip install -r requirements_lint_CI.txt
# Mypy also checks types in the tests/ folder
pip install -r requirements/tests.txt
pip install -r requirements_tests_CI.txt
python setup.py build
- name: black
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:

- name: install dependencies
run: |
pip install -r requirements/minimal.txt
pip install -r requirements/tests.txt
pip install -r requirements_minimal_CI.txt
pip install -r requirements_tests_CI.txt
# Check that demes installs as expected.
# Also check the "demes" CLI entry point.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: install dependencies
run: |
pip install -r requirements/minimal.txt
pip install -r requirements_minimal_CI.txt
pip install build
- name: build wheel
Expand Down

0 comments on commit 6462dc7

Please sign in to comment.