Bump actions/checkout from 4.1.6 to 4.1.7 in the github-actions group #26
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
name: tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: null | |
env: | |
PY_COLORS: "1" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
name: tests | |
runs-on: "ubuntu-latest" | |
defaults: | |
run: | |
shell: bash -leo pipefail {0} | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1 | |
with: | |
environment-file: environment.yml | |
environment-name: conda-forge-conda-plugins | |
- name: configure conda and install code | |
run: | | |
pip install --no-deps --no-build-isolation -e . | |
- name: test versions | |
run: | | |
pip uninstall conda-forge-conda-plugins --yes | |
[[ $(python setup.py --version) != "0.0.0" ]] || exit 1 | |
rm -rf dist/* | |
python setup.py sdist | |
pip install -vv --no-deps --no-build-isolation dist/*.tar.gz | |
cd .. | |
python -c "import conda_forge_conda_plugins; assert conda_forge_conda_plugins.__version__ != '0.0.0'" | |
cd - | |
pip uninstall conda-forge-conda-plugins --yes | |
rm -rf dist/* | |
python -m build --sdist . --outdir dist | |
pip install --no-deps --no-build-isolation dist/*.tar.gz | |
cd .. | |
python -c "import conda_forge_conda_plugins; assert conda_forge_conda_plugins.__version__ != '0.0.0'" | |
cd - | |
pip uninstall conda-forge-conda-plugins --yes | |
python -m pip install -v --no-deps --no-build-isolation -e . | |
- name: run pytest | |
run: | | |
pytest -vvs tests |