Skip to content

Commit 6188034

Browse files
committed
Test using Python 3.5
1 parent d8b6372 commit 6188034

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/mainpython35.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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.10
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: '3.5'
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

0 commit comments

Comments
 (0)