D. Jabs: #11
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: Build & Test PyEvo | |
on: | |
push: | |
paths: | |
- "PyEvo/**" | |
- "tests/**" | |
jobs: | |
job: | |
runs-on: ${{ matrix.os-system }} | |
strategy: | |
matrix: | |
os-system: ["windows-latest"] | |
python-version: ["3.10"] | |
name: Build on ${{ matrix.os-system }} && Test on Python ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v4 | |
with: | |
path: "requirements.txt" | |
#- name: Build Python Package | |
# run: | | |
# pip install . | |
- name: Run Unittests | |
run: | | |
python -m unittest discover -s tests/ -p "test_*.py" |