Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix CI #578

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2022, macos-11]
python-version: ["3.11"]
os: [ubuntu-24.04, windows-2022, macos-14]
python-version: ["3.12"]

steps:
- name: checkout
Expand Down
6 changes: 3 additions & 3 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 All @@ -40,7 +40,7 @@ jobs:
make

- name: Checkout docs site
if: (!github.event.pull_request)
# if: (!github.event.pull_request)
uses: actions/checkout@v3
with:
repository: popsim-consortium/demes-docs
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
canceller:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: cancel previous runs
uses: styfle/[email protected]
Expand All @@ -24,8 +24,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2022, macos-11]
python-version: [3.7, "3.11"]
os: [ubuntu-24.04, windows-2022, macos-14]
python-version: ["3.12"]
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
Expand All @@ -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
10 changes: 5 additions & 5 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
demesdraw==0.4.0
jupyter-book==0.15.1
piccolo_theme==0.19.0
sphinx_issues==3.0.1
sphinxcontrib-programoutput==0.17
demesdraw
jupyter-book
piccolo_theme
sphinx_issues
sphinxcontrib-programoutput
6 changes: 3 additions & 3 deletions requirements/lint.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
black==23.11.0
flake8==6.1.0
mypy==1.9.0
black
flake8
mypy
4 changes: 2 additions & 2 deletions requirements/minimal.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
attrs==23.2.0
ruamel.yaml==0.18.6
attrs
ruamel.yaml
10 changes: 5 additions & 5 deletions requirements/tests.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
numpy; python_version=='3.7'
numpy==1.26.3; python_version>='3.8'
pytest==7.4.3
pytest-cov==4.1.0
pytest-xdist==3.5.0
numpy
numpy
pytest
pytest-cov
pytest-xdist
Loading
Loading