Skip to content

Logs are now automatically aggregated into the GHA Summary #1

Logs are now automatically aggregated into the GHA Summary

Logs are now automatically aggregated into the GHA Summary #1

on:
push:
branches:
- main
pull_request:
name: Integration Tests
jobs:
## Integration tests ##
integration-rattler:
runs-on: ubuntu-latest
timeout-minutes: 45
name: Test on ${{ matrix.test-directory }}
strategy:
fail-fast: false
matrix:
test-directory:
- anaconda_recipes_01
- bioconda_recipes_01
- bioconda_recipes_02
- bioconda_recipes_03
- bioconda_recipes_04
include:
- test-directory: anaconda_recipes_01
convert-success: 0.80
rattler-success: 0.50
- test-directory: bioconda_recipes_01
convert-success: 0.55
rattler-success: 0.02
- test-directory: bioconda_recipes_02
convert-success: 0.55
rattler-success: 0.08
- test-directory: bioconda_recipes_03
convert-success: 0.55
rattler-success: 0.05
- test-directory: bioconda_recipes_04
convert-success: 0.55
rattler-success: 0.05
# 2,000 randomly selected conda-forge recipes
- test-directory: conda_forge_recipes_01
convert-success: 0.75
rattler-success: 0.08
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: conda-incubator/conda-recipe-manager-test-data
path: test_data
sparse-checkout: recipes_v0/${{ matrix.test-directory }}
- uses: ./.github/actions/setup-env
with:
python-version: "3.11"
- name: Convert recipes and dry-run rattler-build
run: |
source $CONDA/bin/activate
conda activate conda-recipe-manager
conda install -y -c conda-forge rattler-build
conda-recipe-manager convert -t -m ${{ matrix.convert-success }} -o recipe.yaml test_data/recipes_v0/${{ matrix.test-directory }}
conda-recipe-manager rattler-bulk-build -t -m ${{ matrix.rattler-success }} test_data/recipes_v0/${{ matrix.test-directory }} --render-only