Add Windows Build Action with Tests #1
Workflow file for this run
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 on Windows ⚙️ | |
on: [ push, pull_request ] | |
jobs: | |
main: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-python@v5 | |
name: Setup Python ${{ matrix.python-version }} | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install requirements 📦 | |
run: | | |
pip install -e . | |
pip install -r requirements.txt | |
pip install -r requirements-dev.txt | |
pip install -r docs/requirements.txt | |
- name: run tests ⚙️ | |
run: python -m pytest |