From 7f6a843f0d397ddde16ad4c8dca6fa48c3cf5d82 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Tue, 7 Mar 2023 11:58:08 -0600 Subject: [PATCH] github: add windows job Signed-off-by: Felipe Contreras --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8753db..819e0d4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,3 +21,21 @@ jobs: run: pip install mercurial==${{ matrix.hg }} - run: make test + test-windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + - uses: actions/cache@v3 + id: cache-pip + with: + path: ~/appdata/local/pip/cache + key: pip-windows + - name: Install hg + run: + pip install mercurial + - name: Run all tests + run: | + make SHELL='C:/Program Files/Git/usr/bin/bash' -C test