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 a21c6ab commit adba4b2Copy full SHA for adba4b2
.github/workflows/main_py312.yml
@@ -0,0 +1,37 @@
1
+name: PyGAD PyTest / Python 3.12
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.12
19
+ uses: actions/setup-python@v4
20
+ with:
21
+ python-version: '3.12'
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