Skip to content

dump_contexts_to_log: runs-on: ubuntu-24.04 #105

dump_contexts_to_log: runs-on: ubuntu-24.04

dump_contexts_to_log: runs-on: ubuntu-24.04 #105

name: pip_install_on_py3_x
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
pip_install_on_py3_x:
strategy:
fail-fast: false
matrix:
module:
#- PyWavelets
#- git+https://github.com/PyWavelets/pywt.git
#- scikit-image
#- scikit-fuzzy
#- symengine
#- qiskit
#- git+https://github.com/Qiskit/qiskit.git
- tensorflow
#- git+https://github.com/tensorflow/tensorflow.git
- django-haystack
- pysolr
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
#- run: pip install ${{ matrix.module }}
#- run: pip uninstall -y ${{ matrix.module }}
- run: pip install --upgrade pip
- run: pip install ${{ matrix.module }}
- if: ${{ matrix.module == "django-haystack" }}

Check failure on line 34 in .github/workflows/pip_install_on_python_3_x.yml

View workflow run for this annotation

GitHub Actions / pip_install_on_py3_x

Invalid workflow file

The workflow is not valid. .github/workflows/pip_install_on_python_3_x.yml (Line: 34, Col: 11): Unexpected symbol: '"django-haystack"'. Located at position 18 within expression: matrix.module == "django-haystack" .github/workflows/pip_install_on_python_3_x.yml (Line: 41, Col: 11): Unexpected symbol: '"pysolr"'. Located at position 18 within expression: matrix.module == "pysolr"
shell: python
run: |
import django
print(django.__version__)
import haystack
print(haystack.__version__)
- if: ${{ matrix.module == "pysolr" }}
shell: python
run: |
import pysolr
print(pysolr.__version__)