docs: Linefit tutorial #173
Workflow file for this run
This file contains hidden or 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: Tests on PR | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| tests-on-pr: | |
| uses: scikit-package/release-scripts/.github/workflows/_tests-on-pr.yml@v0 | |
| with: | |
| project: diffpy.cmi | |
| c_extension: false | |
| headless: false | |
| run: | | |
| set -Eeuo pipefail | |
| echo "Test cmds" | |
| cmi -h | |
| cmi info | |
| cmi info packs | |
| cmi info profiles | |
| cmi info examples | |
| cmi env | |
| cmi install plotting | |
| if [ "${RUNNER_OS}" != "Windows" ]; then | |
| conda list | grep -i ipympl | |
| else | |
| source "$(cygpath -u "$CONDA")/etc/profile.d/conda.sh" | |
| conda activate test | |
| conda list | grep -i ipympl | |
| fi | |
| echo "Running tests for diffpy.cmi dependencies" | |
| cmi install _tests | |
| secrets: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |