Skip to content

Commit

Permalink
Modified the testing workflow to compile the out of process
Browse files Browse the repository at this point in the history
COM-server and register it.
  • Loading branch information
geppi committed May 23, 2024
1 parent 22daf9a commit 8bad763
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/autotest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@ jobs:
python setup.py install
pip uninstall comtypes -y
python test_pip_install.py
- name: Set up MSBuild
uses: microsoft/setup-msbuild@v2
- name: Build out of process COM-server for testing
run: |
cd $GITHUB_WORKSPACE/source/OutProcSrv
nmake /f Makefile
- name: Register COM Server
run: |
server.exe /RegServer
cd $GITHUB_WORKSPACE
- name: unittest comtypes
run: |
python -m unittest discover -v -s ./comtypes/test -t comtypes\test
- name: Unregister COM Server
run: |
cd $GITHUB_WORKSPACE/source/OutProcSrv
server.exe /UnregServer
cd $GITHUB_WORKSPACE

0 comments on commit 8bad763

Please sign in to comment.