Make EOS packable by Python/PyPI #50
Workflow file for this run
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: Run Pytest on Pull Request | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
sudo apt install -y libmariadb3 libmariadb-dev | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run Pytest | |
run: | | |
python -m pytest -vs --cov modules --cov-report term-missing tests/ |