Skip to content

another try at conda #303

another try at conda

another try at conda #303

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: pism-ragis
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
default-shell:
name: Default shell
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -el {0}
steps:

Check failure on line 19 in .github/workflows/python-package.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python-package.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: anaconda-client-env
environment-file: environment-dev.yml
- run: conda info
- run: conda list
- run: conda config --show
run: |
python -c "import petsc4py; petsc4py.init(); from petsc4py import PETSc;"
python -m pytest