add details on Slack notifications to the readme #322
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pytest | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pipenv codecov | |
pip install -r requirements.txt | |
pipenv install --dev | |
- name: Test with pytest | |
run: | | |
sudo mkdir /var/log/s3_upload | |
sudo chmod o+w /var/log/s3_upload | |
pytest -v --cov --count 10 --random-order tests/unit/ |