diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index 7e671f3..31748da 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -28,10 +28,10 @@ jobs: run: | sudo apt-get install libsndfile1 python -m pip install --upgrade pip - pip install fairseq2==v0.3.0rc1 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/ - pip install -r requirements.txt - pip install -r requirements-dev.txt - pip install -e . + python -m pip install fairseq2==v0.3.0rc1 + python -m pip install -r requirements.txt + python -m pip install -r requirements-dev.txt + python -m pip install -e . - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names @@ -60,10 +60,10 @@ jobs: run: | sudo apt-get install libsndfile1 python -m pip install --upgrade pip - pip install fairseq2==v0.3.0rc1 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/ - pip install -r requirements.txt - pip install -r requirements-dev.txt - pip install -e . + python -m pip install fairseq2==v0.3.0rc1 + python -m pip install -r requirements.txt + python -m pip install -r requirements-dev.txt + python -m pip install -e . - name: mypy run: mypy --install-types --non-interactive ./ --cache-dir=.mypy_cache/ @@ -84,10 +84,10 @@ jobs: - name: Install dependencies run: | sudo apt-get install libsndfile1 - pip install fairseq2==v0.3.0rc1 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/ - pip install -r requirements.txt - pip install -r requirements-dev.txt - pip install -e . + python -m pip install fairseq2==v0.3.0rc1 + python -m pip install -r requirements.txt + python -m pip install -r requirements-dev.txt + python -m pip install -e . - name: pytest_unit run: pytest -s -v tests/unit_tests/ @@ -109,10 +109,10 @@ jobs: run: | sudo apt-get install libsndfile1 python -m pip install --upgrade pip - pip install fairseq2==v0.3.0rc1 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/ - pip install -r requirements.txt - pip install -r requirements-dev.txt - pip install -e . + python -m pip install fairseq2==v0.3.0rc1 + python -m pip install -r requirements.txt + python -m pip install -r requirements-dev.txt + python -m pip install -e . - name: Free Disk Space (Ubuntu) uses: jlumbroso/free-disk-space@main with: