We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8b6372 commit 6188034Copy full SHA for 6188034
.github/workflows/mainpython35.yml
@@ -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
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
37
+ pytest
0 commit comments