Skip to content

Commit

Permalink
Run binary config on linux to test installation of upstream wheels in…
Browse files Browse the repository at this point in the history
… the conda environment.
  • Loading branch information
tskisner committed Aug 29, 2024
1 parent 05f4dec commit c13cd11
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,23 @@ jobs:
- os: ubuntu-latest
python: "3.10"
arch: Linux-x86_64
config: default
- os: ubuntu-latest
python: "3.11"
arch: Linux-x86_64
config: default
- os: ubuntu-latest
python: "3.11"
arch: Linux-x86_64
config: binary
- os: macos-13
python: "3.11"
arch: MacOSX-x86_64
- os: macos-14
config: binary
- os: macos-latest
python: "3.11"
arch: MacOSX-x86_64
config: binary
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -55,13 +63,9 @@ jobs:
source ~/conda/etc/profile.d/conda.sh &&
conda activate base &&
pyver=${{ matrix.python }} &&
sed -i -E "s/python=3\.[[:digit:]]+.*/python=${pyver}/" ./config/default/packages_conda.txt &&
sed -i -E "s/python=3\.[[:digit:]]+.*/python=${pyver}/" ./config/default ./config/binary packages_conda.txt &&
cat ./config/default/packages_conda.txt &&
if [[ ${{ matrix.os }} == "macos-13" || ${{ matrix.os }} == "macos-14" ]]; then \
./soconda.sh -e soconda -v CI -c binary; \
else \
./soconda.sh -e soconda -v CI -c default; \
fi
./soconda.sh -e soconda -v CI -c ${{ matrix.config }}
- name: Run Tests
run: |
Expand Down

0 comments on commit c13cd11

Please sign in to comment.