Skip to content

[WIP] Updating to Python 3.11 as the Core Python #24

[WIP] Updating to Python 3.11 as the Core Python

[WIP] Updating to Python 3.11 as the Core Python #24

Workflow file for this run

name: 'Conda Env Verified (Ubuntu & MacOS)'
on:
pull_request:
paths:
- '**-env.yml'
- '.github/workflows/**'
jobs:
build-conda-env:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
max-parallel: 5
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: false
- name: Install Conda Environment
if: matrix.os == 'macos-latest'
run: |
micromamba env create --platform osx-64 --file anaconda-env.yml
if: matrix.os == 'ubuntu-latest'

Check failure on line 26 in .github/workflows/test_CondaEnv.yml

View workflow run for this annotation

GitHub Actions / Conda Env Verified (Ubuntu & MacOS)

Invalid workflow file

The workflow is not valid. .github/workflows/test_CondaEnv.yml (Line: 26, Col: 7): 'if' is already defined .github/workflows/test_CondaEnv.yml (Line: 27, Col: 7): 'run' is already defined
run: |
micromamba env create --file anaconda-env.yml