Skip to content

Commit

Permalink
try using pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Jan 29, 2025
1 parent a8112a4 commit 5ef8825
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,14 @@ jobs:
python -m pip install --no-cache-dir git+https://github.com/desihub/desimeter.git@${{ env.DESIMETER_VERSION }}#egg=desimeter
mkdir -p ${{ env.DESIMODEL }}
svn export https://desi.lbl.gov/svn/code/desimodel/${{ env.DESIMODEL_DATA }}/data ${{ env.DESIMODEL }}/data
- name: Install Fiberassign
run: CC=g++ CXX=g++ CFLAGS="-fPIC" LDSHARED="g++ -shared" python -m pip install -vvv .
# - name: Install Fiberassign
# run: CC=g++ CXX=g++ CFLAGS="-fPIC" LDSHARED="g++ -shared" python -m pip install -vvv .
# - name: Run Tests
# run: python -c 'import fiberassign.test; fiberassign.test.runtests()'
- name: Compile the package
run: CC=g++ CXX=g++ CFLAGS="-fPIC" LDSHARED="g++ -shared" python setup.py build_ext --inplace
- name: Run Tests
run: python -c 'import fiberassign.test; fiberassign.test.runtests()'
run: pytest

docs:
name: Doc test
Expand Down

0 comments on commit 5ef8825

Please sign in to comment.