tests_windows #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests_windows | |
on: | |
# # At 20:59 every day (23:59 MSK) | |
# schedule: | |
# - cron: 59 20 * * * | |
# Manually triggerable in github | |
workflow_dispatch: | |
workflow_run: | |
workflows: ["tests_ubuntu"] | |
branches: [master] | |
types: | |
- completed | |
jobs: | |
windows-tests: | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
runs-on: windows-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: setup-msys2 | |
uses: msys2/setup-msys2@v2 | |
with: | |
msystem: MINGW64 | |
update: true | |
install: >- | |
mingw-w64-x86_64-cairo | |
- name: install deps for Windows | |
run: pip3 install pycairo | |
- name: install tox | |
run: | | |
python3 -m pip install --upgrade pip | |
pip3 install tox==3.28.0 | |
pip3 install tox-gh-actions==2.12.0 | |
- name: test with tox | |
run: | | |
tox |