Skip to content

Pass python version param #20

Pass python version param

Pass python version param #20

Workflow file for this run

name: Python Package using Conda
on: [push]
jobs:
build-linux:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest]
python-version: [ 3.7, 3.8, 3.9, "3.10", 3.11 ]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: {{ matrix.python }}

Check failure on line 18 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Python Package using Conda

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 18, Col: 25): A mapping was not expected
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda env update --file environment.yml --name base
- name: Run all tests
run: |
make test