Skip to content

Commit 56f338d

Browse files
committed
infra: add CI test for MinGW
1 parent 816140e commit 56f338d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci-workflow.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,28 @@ jobs:
4949
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
5050
run: |
5151
uv run coveralls
52+
53+
mingw:
54+
name: MinGW (MSYS2)
55+
runs-on: windows-latest
56+
steps:
57+
- uses: actions/checkout@v4
58+
- name: Set up MSYS2 (MinGW64)
59+
uses: msys2/setup-msys2@v2
60+
with:
61+
msystem: MINGW64
62+
update: true
63+
install: >-
64+
mingw-w64-x86_64-python
65+
mingw-w64-x86_64-python-pip
66+
git
67+
- name: Install dependencies
68+
shell: msys2 {0}
69+
run: |
70+
python -m pip install -U pip
71+
pip install -e .
72+
pip install pytest pytest-cov
73+
- name: Run test suite
74+
shell: msys2 {0}
75+
run: |
76+
pytest -v --cov=PyGitUp

0 commit comments

Comments
 (0)