Skip to content

Commit

Permalink
Test on Windows OS. (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
delucchi-cmu authored Dec 6, 2024
1 parent f65d2e9 commit 2f9453c
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/testing-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will install Python dependencies and run tests in a Windows environment.
# This is intended to catch any file-system specific issues, and so runs less
# frequently than other test suites.

name: Windows unit test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: windows-latest
strategy:
matrix:
python-version: ['3.10']

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
pip install -r requirements.txt
- name: Run unit tests with pytest
run: |
python -m pytest tests

0 comments on commit 2f9453c

Please sign in to comment.