Skip to content

Update test_deploy_conda.yml #7

Update test_deploy_conda.yml

Update test_deploy_conda.yml #7

name: Test and Publish
on:
push:
branches:
- main
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
pull_request:
branches:
- main
jobs:
setup:
name: Setup
runs-on: ${{ matrix.platform }}
defaults:
run:
shell: bash -el {0}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/[email protected]
with:
auto-update-conda: true
auto-activate-base: true
# activate-environment: ff
python-version: ${{ matrix.python-version }}
# channels: pytorch, conda-forge, defaults
channel-priority: true
use-only-tar-bz2: true
#environment-file: env_cpu.yml
- name: Conda info
run: conda info
- name: Setup
run: conda env create --name ff --file env_cpu.yml
- name: Run Tests
run: |
conda activate ff
conda list