Fix warning #130
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PyGAD PyTest / Python 3.7 | |
on: | |
push: | |
branches: | |
- github-actions | |
# - master | |
jobs: | |
job_id_1: | |
runs-on: ubuntu-20.04 | |
name: PyTest Workflow Job | |
steps: | |
- name: Checkout Pre-Built Action | |
uses: actions/checkout@v3 | |
- name: Setup Python 3.7 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.7' | |
- name: Build PyGAD from the Repository | |
run: | | |
python3 -m pip install --upgrade build | |
python3 -m build | |
- name: Install PyGAD after Building the .whl File | |
run: | | |
find ./dist/*.whl | xargs pip install | |
- name: Install PyTest | |
run: pip install pytest | |
- name: Run the Tests by Calling PyTest | |
run: | | |
pytest |