forked from anyoptimization/pymoo
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (37 loc) · 943 Bytes
/
testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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"