Skip to content

Commit f7e53b6

Browse files
committed
.
1 parent 32966c0 commit f7e53b6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,17 @@ jobs:
1515
# won't be valid. But to avoid confusion, we explicitly restrict the scope.
1616
# See https://github.com/popsim-consortium/stdpopsim/issues/662
1717
if: github.repository == 'popsim-consortium/stdpopsim'
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2121

22-
- uses: actions/setup-python@v2
22+
- uses: actions/setup-python@v5
2323
with:
24-
python-version: 3.8
24+
python-version: 3.12
2525

2626
- name: Install deps
2727
run: |
2828
python -m pip install wheel
29-
python -m pip install numpy==1.19.2 # for scikit-allel
3029
python -m pip install -r requirements/CI/requirements.txt
3130
# Install the local package so that stdpopsim is in the path,
3231
# which is needed for generating docs `command-output`.
@@ -37,7 +36,7 @@ jobs:
3736

3837
- name: Checkout docs site
3938
if: (!github.event.pull_request)
40-
uses: actions/checkout@v2
39+
uses: actions/checkout@v3
4140
with:
4241
repository: popsim-consortium/stdpopsim-docs
4342
token: ${{ secrets.POPSIMBOT_STDPOPSIM_DOCS_TOKEN }}

requirements/CI/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ flake8==5.0.4
33
pytest==8.2.2
44
pytest-cov==5.0.0
55
pytest-xdist==3.6.1
6+
setuptools-scm==8.1.0
67
sphinx==5.0.2
78
sphinx-argparse==0.4.0
89
sphinx-issues==3.0.1

0 commit comments

Comments
 (0)