Skip to content

Commit

Permalink
Second attempt to remove xspec-modelsonly for macos-latest.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndilalla committed Sep 10, 2024
1 parent 17968b0 commit 8f0ae00
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test_and_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,16 @@ jobs:
- name: Test conda install
shell: bash -l {0}
run: python -m pytest -vv --cov=astromodels --cov-report=xml
if: ${{matrix.os}} == "macos-latest"
env:
OMP_NUM_THREADS: 1
MKL_NUM_THREADS: 1
NUMEXPR_NUM_THREADS: 1
MPLBACKEND: "Agg"
- name: Test conda install
shell: bash -l {0}
if: ${{matrix.os}} != "macos-latest"
run: |
echo "======> importing XSPEC..."
Expand Down
22 changes: 11 additions & 11 deletions conda-dist/recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ requirements:
- {{ compiler('c') }} # [linux]
- {{ compiler('cxx') }} # [linux]
- {{ compiler('fortran') }} # [linux]
- xspec-modelsonly
- cfitsio
- ccfits
- wcslib
- xspec-modelsonly #[not arm64]
- cfitsio # [not arm64]
- ccfits # [not arm64]
- wcslib # [not arm64]

host:
- python
Expand All @@ -25,10 +25,10 @@ requirements:
- numpy
- pyyaml>=5.1
- pandas>=0.23
- cfitsio
- ccfits
- wcslib
- xspec-modelsonly
- cfitsio # [not arm64]
- ccfits # [not arm64]
- wcslib # [not arm64]
- xspec-modelsonly # [not arm64]
- future
- numba>=0.54
- h5py
Expand All @@ -46,9 +46,9 @@ requirements:
- pytables
- pandas>=0.23
- dill
- cfitsio
- ccfits
- wcslib
- cfitsio # [not arm64]
- ccfits # [not arm64]
- wcslib # [not arm64]
- future
- numba>=0.54
- h5py
Expand Down

0 comments on commit 8f0ae00

Please sign in to comment.