Skip to content

Commit

Permalink
Add hatch to testing action
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashopf authored Nov 5, 2024
1 parent 6efe781 commit 009011f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
conda info -a
conda create -q -n test-environment python=${{ matrix.python-version }} numpy scipy numba pandas matplotlib
source activate test-environment
- name: Run setup.py
- name: Install Hatch
uses: pypa/hatch@install
- name: Build and install package
run: |
pip install build
python setup.py sdist --formats=zip -k
python -m build
find ./dist -iname "*.zip" -print0 | xargs -0 pip install
hatch build
find ./dist -iname "*.tar.gz" -print0 | xargs -0 pip install
pip install codecov
- name: Download test files
run: |
Expand Down

0 comments on commit 009011f

Please sign in to comment.