-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Windows Build Action with Tests (#950)
* Ensure any starting slash on Windows is removed * Open as utf-8 or tests fail on Windows * Add Windows workflow * No need for docs requirements
- Loading branch information
1 parent
373d682
commit d3a06d3
Showing
3 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: build on Windows ⚙️ | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
main: | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
python-version: ["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 | ||
- name: run tests ⚙️ | ||
run: python -m pytest |
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
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