File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : PyGAD PyTest / Python 3.14
2+
3+ permissions :
4+ contents : read
5+
6+ on :
7+ push :
8+ branches :
9+ - github-actions
10+ # - master
11+ # Manually trigger the workflow.
12+ workflow_dispatch :
13+
14+ jobs :
15+ job_id_1 :
16+ runs-on : ubuntu-latest
17+ name : PyTest Workflow Job
18+
19+ steps :
20+ - name : Checkout Pre-Built Action
21+ uses : actions/checkout@v3
22+
23+ - name : Setup Python 3.14
24+ uses : actions/setup-python@v4
25+ with :
26+ python-version : ' 3.14'
27+
28+ - name : Install Dependencies
29+ run : |
30+ python -m pip install --upgrade pip
31+ pip install -r requirements.txt
32+
33+ - name : Build PyGAD from the Repository
34+ run : |
35+ python3 -m pip install --upgrade build
36+ python3 -m build
37+
38+ - name : Install PyGAD after Building the .whl File
39+ run : |
40+ find ./dist/*.whl | xargs pip install
41+
42+ - name : Install PyTest
43+ run : pip install pytest
44+
45+ - name : Run the Tests by Calling PyTest
46+ run : |
47+ pytest
You can’t perform that action at this time.
0 commit comments