Skip to content

build(deps): bump mamba-org/setup-micromamba from 2.0.2 to 2.0.3 in the github-actions group #108

build(deps): bump mamba-org/setup-micromamba from 2.0.2 to 2.0.3 in the github-actions group

build(deps): bump mamba-org/setup-micromamba from 2.0.2 to 2.0.3 in the github-actions group #108

Workflow file for this run

name: tests
on:
push:
branches:
- main
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: mamba-org/setup-micromamba@068f1ab4b37ed9b3d9f73da7db90a0cda0a48d29 # v1
with:
environment-file: environment.yml
micromamba-version: "1.5.10-0"
- name: configure conda and install code
run: |
pip install --no-deps --no-build-isolation -e .
- name: test versions
run: |
cd ..
python -c "import conda_forge_feedstock_ops; assert conda_forge_feedstock_ops.__version__ != '0.0.0'"
cd -
pip uninstall conda-forge-feedstock-ops --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_feedstock_ops; assert conda_forge_feedstock_ops.__version__ != '0.0.0'"
cd -
pip uninstall conda-forge-feedstock-ops --yes
python -m pip install -v --no-deps --no-build-isolation -e .
- name: set up docker buildx
uses: docker/setup-buildx-action@v3
- name: build docker image
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6
with:
context: .
push: false
load: true
tags: conda-forge-feedstock-ops:test
- name: ensure cli runs
run: |
conda-forge-feedstock-ops-container --help
- name: run tests
run: |
pytest -vvs tests