github: add windows job

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras
2023-03-07 11:58:08 -06:00
parent 63cf2780ba
commit 7f6a843f0d

View File

@@ -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