Skip to content

Commit 44cf9fb

Browse files
committed
Running tests using GitHub Actions
1 parent c964118 commit 44cf9fb

File tree

8 files changed

+112
-461
lines changed

8 files changed

+112
-461
lines changed

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,28 @@
1+
name: Testing PyGAD using PyTest
12

3+
on:
4+
push:
5+
branches:
6+
- main
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.10'
22+
23+
- name: Install PyTest
24+
run: pip install pytest
25+
26+
- name: Call PyTest
27+
run: |
28+
pytest

tests/example_clustering_2.py

Lines changed: 0 additions & 122 deletions
This file was deleted.

tests/example_clustering_3.py

Lines changed: 0 additions & 134 deletions
This file was deleted.

tests/example_custom_operators.py

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)