Run Pytest #29
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: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' # Change to the version of Python you are using | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest pandas numpy numba | |
- name: Install optimask | |
run: | | |
python setup.py install | |
- name: Run Pytest | |
run: | | |
pytest tests/test_optimask.py |