Add support for entrypoint executable generation #20
Workflow file for this run
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: Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
python-version: [3.8, 3.9, '3.10', '3.11', '3.12'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.x' | |
if: ${{ matrix.os != 'windows-latest' }} | |
- name: Install dependencies | |
run: pip install -r tests/requirements.txt | |
- name: Test with pytest | |
run: pytest | |
env: | |
PYTHON_CONFIG: python3-config | |
- name: Check self build (in-place) | |
run: python -m pymsbuild | |
env: | |
PYTHON_CONFIG: python3-config | |
- name: Check self build (sdist) | |
run: python -m pymsbuild sdist | |
env: | |
PYTHON_CONFIG: python3-config | |
- name: Check self build (wheel) | |
run: python -m pymsbuild wheel | |
env: | |
PYTHON_CONFIG: python3-config |