mirror of
https://github.com/QData/TextAttack.git
synced 2021-10-13 00:05:06 +03:00
Update run-pytest.yml
This commit is contained in:
8
.github/workflows/run-pytest.yml
vendored
8
.github/workflows/run-pytest.yml
vendored
@@ -31,6 +31,14 @@ jobs:
|
||||
python setup.py install_egg_info # Workaround https://github.com/pypa/pip/issues/4537
|
||||
pip install -e .[dev]
|
||||
pip freeze
|
||||
- name: Free disk space
|
||||
run: |
|
||||
sudo apt-get remove mysql-client libmysqlclient-dev -y >/dev/null 2>&1
|
||||
sudo apt-get remove php* -y >/dev/null 2>&1
|
||||
sudo apt-get autoremove -y >/dev/null 2>&1
|
||||
sudo apt-get autoclean -y >/dev/null 2>&1
|
||||
sudo rm -rf /usr/local/lib/android >/dev/null 2>&1
|
||||
docker rmi $(docker image ls -aq) >/dev/null 2>&1
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest tests -v
|
||||
|
||||
Reference in New Issue
Block a user