Skip to content

Commit

Permalink
Merge pull request #155 from simonsobs/fix_wheels_macos
Browse files Browse the repository at this point in the history
Add set of optional test requirements.
  • Loading branch information
tskisner authored Aug 18, 2023
2 parents 5d2716e + 46eab44 commit 2903a1e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:

- name: Install cibuildwheel
run: |
python -m pip install twine cibuildwheel==2.12.1
python -m pip install twine cibuildwheel==2.15.0
- name: Build wheel
run: |
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@

name: Test Binary Wheels

on:
workflow_dispatch:
schedule:
- cron: '0 4 * * *'
on: workflow_dispatch

jobs:
build_wheels:
Expand Down Expand Up @@ -92,13 +89,13 @@ jobs:

- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==2.12.1
python -m pip install cibuildwheel==2.15.0
- name: Build wheel
run: |
python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: wheels
path: ./wheelhouse/so3g*.whl
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ ADD . /app_lib/so3g

# Install any needed packages specified in requirements.txt
RUN pip3 install -r requirements.txt
RUN pip3 install -r test-requirements.txt

# Build so3g
RUN /bin/bash /app_lib/so3g/docker/so3g-setup.sh
7 changes: 0 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,4 @@ sqlalchemy
pysqlite3-wheels
tqdm
cmake

# Required for full pointing support and testing
pixell
qpoint

# testing
pytest
pytest-cov
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,6 @@ def readme():
"sqlalchemy",
"pysqlite3-wheels",
"tqdm",
"pixell",
"qpoint",
]

Expand Down
5 changes: 5 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# testing
pytest
pytest-cov
# Required for full pointing support and testing
pixell

0 comments on commit 2903a1e

Please sign in to comment.