File tree Expand file tree Collapse file tree 5 files changed +111
-0
lines changed Expand file tree Collapse file tree 5 files changed +111
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1+ name : Testing PyGAD using PyTest
2+
3+ on :
4+ push :
5+ branches :
6+ - github-actions
7+ # - master
8+
9+ jobs :
10+ job_id_1 :
11+ runs-on : ubuntu-latest
12+ name : PyTest Workflow Job
13+
14+ steps :
15+ - name : Checkout Pre-Built Action
16+ uses : actions/checkout@v3
17+
18+ - name : Setup Python 3.11
19+ uses : actions/setup-python@v4
20+ with :
21+ python-version : ' 3.11'
22+
23+ - name : Build PyGAD from the Repository
24+ run : |
25+ python3 -m pip install --upgrade build
26+ python3 -m build
27+
28+ - name : Install PyGAD after Building the .whl File
29+ run : |
30+ find ./dist/*.whl | xargs pip install
31+
32+ - name : Install PyTest
33+ run : pip install pytest
34+
35+ - name : Run the Tests by Calling PyTest
36+ run : |
37+ pytest
File renamed without changes.
Original file line number Diff line number Diff line change 1+ name : Testing PyGAD using PyTest
2+
3+ on :
4+ push :
5+ branches :
6+ - github-actions
7+ # - master
8+
9+ jobs :
10+ job_id_1 :
11+ runs-on : ubuntu-latest
12+ name : PyTest Workflow Job
13+
14+ steps :
15+ - name : Checkout Pre-Built Action
16+ uses : actions/checkout@v3
17+
18+ - name : Setup Python 3.8
19+ uses : actions/setup-python@v4
20+ with :
21+ python-version : ' 3.8'
22+
23+ - name : Build PyGAD from the Repository
24+ run : |
25+ python3 -m pip install --upgrade build
26+ python3 -m build
27+
28+ - name : Install PyGAD after Building the .whl File
29+ run : |
30+ find ./dist/*.whl | xargs pip install
31+
32+ - name : Install PyTest
33+ run : pip install pytest
34+
35+ - name : Run the Tests by Calling PyTest
36+ run : |
37+ pytest
Original file line number Diff line number Diff line change 1+ name : Testing PyGAD using PyTest
2+
3+ on :
4+ push :
5+ branches :
6+ - github-actions
7+ # - master
8+
9+ jobs :
10+ job_id_1 :
11+ runs-on : ubuntu-latest
12+ name : PyTest Workflow Job
13+
14+ steps :
15+ - name : Checkout Pre-Built Action
16+ uses : actions/checkout@v3
17+
18+ - name : Setup Python 3.9
19+ uses : actions/setup-python@v4
20+ with :
21+ python-version : ' 3.9'
22+
23+ - name : Build PyGAD from the Repository
24+ run : |
25+ python3 -m pip install --upgrade build
26+ python3 -m build
27+
28+ - name : Install PyGAD after Building the .whl File
29+ run : |
30+ find ./dist/*.whl | xargs pip install
31+
32+ - name : Install PyTest
33+ run : pip install pytest
34+
35+ - name : Run the Tests by Calling PyTest
36+ run : |
37+ pytest
You can’t perform that action at this time.
0 commit comments