Update test_optimask.py #13
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
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 cython | |
- name: Install optimask | |
run: | | |
cython optimask/optimask_cython.pyx | |
python setup.py install | |
- name: Run Pytest | |
run: | | |
pytest tests/test_optimask.py |