Update python-tests.yml

This commit is contained in:
Sean Whalen
2022-01-05 09:43:22 -05:00
parent ddb02cd031
commit 8a5242be5a

View File

@@ -17,7 +17,15 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: "3.6"
- name: Install dependencies
- name: Install Elasticsearch
run: |
sudo apt-get update
sudo apt-get install -y libemail-outlook-message-perl
curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.16.2-amd64.deb
sudo dpkg -i --force-confnew elasticsearch-*.deb
sudo systemctl restart elasticsearch
sudo systemctl --no-pager status elasticsearch
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi