Fix CI for stacked pull requests #61
Workflow file for this run
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
# This workflow is used to run the unittest of pyiron | |
name: Unittests-minimal | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/[email protected] | |
with: | |
python-version: "3.12" | |
mamba-version: "*" | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
channel-priority: strict | |
auto-update-conda: true | |
environment-file: .ci_support/environment-mini.yml | |
- name: Test | |
shell: bash -l {0} | |
timeout-minutes: 5 | |
run: | | |
pip install versioneer[toml]==0.29 | |
pip install . --no-deps --no-build-isolation | |
cd tests | |
python -m unittest discover . |