From d14c787a2515d23f004118b267c0f0d526ac0232 Mon Sep 17 00:00:00 2001 From: e2thenegpii Date: Thu, 1 Dec 2022 16:16:22 -0800 Subject: [PATCH] Add a windows test to the workflow --- .github/workflows/test.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a10bcd5..0eb65b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ name: Tests on: [push] jobs: - test: + test-ubuntu: runs-on: ubuntu-latest strategy: matrix: @@ -24,3 +24,23 @@ jobs: - name: Test with pytest run: | pytest + test-windows: + runs-on: windows-latest + strategy: + matrix: + python-version: ["3.9", "3.10", "3.11"] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install -r requirements-dev.txt + python -m pip install -r requirements.txt + - name: Test with pytest + run: | + pytest