Skip to content

Commit

Permalink
Update test action to make sure import works before installing dev de…
Browse files Browse the repository at this point in the history
…pendencies
  • Loading branch information
Joseph Curtis committed Feb 10, 2022
1 parent 95e53b2 commit 5d1203c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Install without dev dependencies
run: |
pip install --upgrade pip setuptools wheel
pip install --only-binary=numpy,scipy -r requirements-dev.txt
- name: Install package
run: |
pip install --only-binary=numpy,scipy -r requirements.txt
pip install .
- name: Make sure import works
run: python -c "import becquerel;"
- name: Install dev dependencies
run: pip install -r requirements-dev.txt
- name: Test with pytest
run: |
python -c 'import becquerel;'
pytest
run: pytest

0 comments on commit 5d1203c

Please sign in to comment.