Skip to content

Testing

Testing #184

Workflow file for this run

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"