typing: core algorithm and its imports #197
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: Testing | |
on: | |
push: | |
branches: | |
- develop | |
- release | |
- master | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 6 * * 1' | |
jobs: | |
testing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Python 3 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install Dependencies | |
run: | | |
pip install numpy Cython scipy | |
pip install -r tests/requirements.txt | |
- name: Install pymoo (DEBUG) | |
run: | | |
python setup.py install | |
- name: Install pymoo | |
run: | | |
pip install . | |
rm -rf pymoo | |
- name: Check Compilation | |
run: | | |
python -c "from pymoo.util.function_loader import is_compiled;print('Compiled Extensions: ', is_compiled())" | |
- name: Run Tests | |
run: | | |
pytest -v --maxfail 1 --no-header -m "not long" |