Skip to content

Commit 0dc76a2

Browse files
Merge pull request #216 from jeromekelleher/run-on-arm
Run CI on macos-14 (ARM)
2 parents c2fde10 + f122d33 commit 0dc76a2

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,18 @@ jobs:
2323
matrix:
2424
# Use macos-13 because pip binary packages for ARM aren't
2525
# available for many dependencies
26-
os: [macos-13, ubuntu-latest]
26+
os: [macos-13, macos-14, ubuntu-latest]
2727
python-version: ["3.9", "3.10", "3.11"]
2828
exclude:
2929
# Just run macos tests on one Python version
3030
- os: macos-13
3131
python-version: "3.9"
3232
- os: macos-13
3333
python-version: "3.10"
34+
- os: macos-14
35+
python-version: "3.9"
36+
- os: macos-14
37+
python-version: "3.10"
3438
steps:
3539
- uses: actions/checkout@v4
3640
- name: Set up Python ${{ matrix.python-version }}
@@ -48,6 +52,10 @@ jobs:
4852
uses: coverallsapp/[email protected]
4953
with:
5054
github-token: ${{ secrets.GITHUB_TOKEN }}
55+
# The first coveralls upload will succeed and others seem to fail now.
56+
# This is a quick workaround for doing a proper "parallel" setup:
57+
# https://github.com/coverallsapp/github-action
58+
fail-on-error: false
5159

5260
packaging:
5361
name: Packaging

tests/test_simulated_data.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import msprime
1+
import sys
2+
23
import numpy.testing as nt
34
import pysam
45
import pytest
@@ -7,9 +8,13 @@
78
from bio2zarr import vcf2zarr
89

910

11+
@pytest.mark.skipif(sys.platform == "darwin", reason="msprime OSX pip packages broken")
1012
class TestTskitRoundTripVcf:
1113
@pytest.mark.parametrize("ploidy", [1, 2, 3, 4])
1214
def test_ploidy(self, ploidy, tmp_path):
15+
# FIXME importing here so pytest.skip avoids importing msprime.
16+
import msprime
17+
1318
ts = msprime.sim_ancestry(
1419
2,
1520
population_size=10**4,

0 commit comments

Comments
 (0)