Skip to content

Commit

Permalink
fix: in 2022, "python" is Python 3 and "pip" works in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Nov 4, 2022
1 parent 38c41da commit f2b892a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/matrix-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip3 install -e .
pip install -e .
- name: Run tests
run: python run_tests.py dev
8 changes: 4 additions & 4 deletions .github/workflows/studio-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip3 install -r requirements.txt
pip3 install -r requirements/requirements.test.txt
pip3 install -e .
pip install -r requirements.txt
pip install -r requirements/requirements.test.txt
pip install -e .
- name: Ensure browser is installed
run: python -m playwright install --with-deps chromium
- name: Run tests
run: |
gunicorn --worker-class eventlet -w 1 g2p.app:APP --no-sendfile --bind 0.0.0.0:5000 --daemon
sleep 5
cd g2p/tests && python3 test_studio.py
cd g2p/tests && python test_studio.py
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip3 install -r requirements.txt
pip3 install -e .
pip3 install pip-licenses
pip install -r requirements.txt
pip install -e .
pip install pip-licenses
if pip-licenses | grep -v 'Artistic License' | grep -v LGPL | grep GNU; then echo 'Please avoid introducing *GPL dependencies'; false; fi
pip3 install coverage coveralls
pip install coverage coveralls
- name: Run tests
run: |
gunicorn --worker-class eventlet -w 1 g2p.app:APP --no-sendfile --bind 0.0.0.0:5000 --daemon
Expand All @@ -44,6 +44,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip3 install -e .
pip install -e .
- name: Run tests on Windows
run: python run_tests.py dev

0 comments on commit f2b892a

Please sign in to comment.