Skip to content

Commit

Permalink
add auto-test workflow by GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
junkmd committed Apr 7, 2024
1 parent 5b58318 commit 2ab6c4b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/autotest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
pull_request:
branches: [main]
push:
branches: [main]

jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, windows-2019]
python-version: [3.7, 3.8, 3.9, 3.10, 3.11, 3.12]
architecture: ['x86', 'x64']
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
- name: install comtypes
run: |
pip install --upgrade setuptools
python setup.py install
pip uninstall comtypes -y
python test_pip_install.py
- name: unittest comtypes
run: |
python -m unittest discover -v -s ./comtypes/test -t comtypes\test

0 comments on commit 2ab6c4b

Please sign in to comment.