Skip to content

16 noclick

16 noclick #1

name: conda-pkg-extra-tests
on:
pull_request:
branches:
# for testing conda build w no upload during PRs
- main
jobs:
build:
runs-on: ubuntu-latest
container:
image: continuumio/miniconda3:latest
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Run Docker to Build
run: |
conda config --append channels conda-forge
conda config --append channels noaa-gfdl
conda install conda-build conda-verify
conda build .
- name: Import Test with pytest
run: |
conda create --name catalogbuildertest
conda install -n catalogbuildertest catalogbuilder --use-local
/opt/conda/envs/catalogbuildertest/bin/python catalogbuilder/tests/make_sample_data.py
/opt/conda/envs/catalogbuildertest/bin/python catalogbuilder/scripts/gen_intake_gfdl_runner.py