D. Jabs: #5
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 PyCSPSolver | |
on: | |
push: | |
paths: ["PyCSPSolver/*", "tests/*"] | |
jobs: | |
job: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
name: Build & 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" |