Skip to content

add --ignore-requires-python in pip install #2

add --ignore-requires-python in pip install

add --ignore-requires-python in pip install #2

Workflow file for this run

name: oseti test
on:
push:
paths:
- ".github/workflows/test-linux.yml"
- "oseti/**"
- "*.py"
- "requirements.txt"
pull_request:
branches:
- main
paths:
- ".github/workflows/test-linux.yml"
- "oseti/**"
- "*.py"
- "requirements.txt"
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python:
- "3.13"
- "3.12"
- "3.11"
- "3.10"
- "3.9"
- "3.8"
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
- name: setup python ${{ matrix.python }}
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: ${{ matrix.python }}
- name: Install MeCab
run: |
sudo apt-get update
sudo apt-get install -y gettext mecab libmecab-dev mecab-ipadic-utf8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --ignore-requires-python -r requirements.txt
python -m pip install -r test_requirements.txt
- name: Run tests
run: |

Check failure on line 54 in .github/workflows/test-linux.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-linux.yml

Invalid workflow file

You have an error in your yaml syntax on line 54
python -m pip install .
pytest