Skip to content

Commit 76d9775

Browse files
authored
Merge pull request #76 from benjeffery/fix-ci-2
Fix CI
2 parents 675d944 + eb54d57 commit 76d9775

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ on:
88
jobs:
99
pre-commit:
1010
name: Lint
11-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-latest
1212
steps:
1313
- name: Cancel Previous Runs
14-
uses: styfle/cancel-workflow-action@0.6.0
14+
uses: styfle/cancel-workflow-action@0.12.0
1515
with:
1616
access_token: ${{ github.token }}
17-
- uses: actions/checkout@v2
18-
- uses: actions/setup-python@v2
19-
- uses: pre-commit/action@v2.0.0
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-python@v4
19+
- uses: pre-commit/action@v3.0.0
2020

2121
test:
2222
name: Python
2323
runs-on: ${{ matrix.os }}
2424
strategy:
2525
matrix:
26-
python: [ 3.7, 3.9 ]
26+
python: [ 3.8, 3.11 ]
2727
os: [ macos-latest, ubuntu-latest, windows-latest ]
2828
defaults:
2929
run:
@@ -59,7 +59,6 @@ jobs:
5959
channels: conda-forge
6060
channel-priority: strict
6161
auto-update-conda: true
62-
use-only-tar-bz2: true
6362

6463
- name: Fix windows .profile
6564
if: steps.cache.outputs.cache-hit != 'true' && matrix.os == 'windows-latest'
@@ -69,7 +68,9 @@ jobs:
6968
- name: Install conda deps
7069
if: steps.cache.outputs.cache-hit != 'true'
7170
shell: bash -l {0} #We need a login shell to get conda
72-
run: conda install --yes --file=requirements/CI-tests-conda.txt
71+
run: |
72+
conda install mamba
73+
mamba install --yes --file=requirements/CI-tests-conda.txt
7374
7475
- name: Fix OSX Cache Write #OSX Won't let the cache restore due to file perms
7576
if: steps.cache.outputs.cache-hit != 'true' && matrix.os == 'macos-latest'

.mergify.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ pull_request_rules:
3131
queue:
3232
name: default
3333
method: rebase
34-
rebase_fallback: none
3534
update_method: rebase
3635

3736
- name: Remove label after merge

requirements/CI-tests-conda.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
humanize==4.8.0
2-
h5py<3.2
2+
h5py==3.7.0
33
msprime==1.2.0
44
pytest==7.4.2
55
pytest-cov==4.1.0

0 commit comments

Comments
 (0)