Merge pull request #238 from ericpre/fix_numpy20 #159
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package & Test | |
on: [push, pull_request] | |
jobs: | |
package_and_test: | |
name: Package and Test | |
# Use the "reusable workflow" from the hyperspy organisation | |
uses: hyperspy/.github/.github/workflows/package_and_test.yml@main | |
with: | |
module_name: rsciio | |
# "github.event.pull_request.head.repo.full_name" is for "pull request" event while github.repository is for "push" event | |
# "github.event.pull_request.head.ref" is for "pull request" event while "github.ref_name" is for "push" event | |
POOCH_BASE_URL: https://github.com/${{ github.event.pull_request.head.repo.full_name || github.repository }}/raw/${{ github.event.pull_request.head.ref || github.ref_name }}/rsciio/tests/data/ |