Skip to content

Fix undfined get_profile_path() error #27

Fix undfined get_profile_path() error

Fix undfined get_profile_path() error #27

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
python-version: [3.9, '3.10', '3.11', '3.12', '3.13']
env:
PIP_DISABLE_PIP_VERSION_CHECK: true
PIP_NO_COLOR: true
PIP_NO_INPUT: true
PIP_PROGRESS_BAR: off
PIP_REQUIRE_VIRTUALENV: false
PIP_VERBOSE: true
PYMSBUILD_VERBOSE: true
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --pre pymsbuild Cython
pip install pytest
- name: Build in place
run: python -m pymsbuild
- name: Build test modules
run: python -m pymsbuild -c _msbuild_test.py
- name: Test with pytest
run: |
python -m etwtrace --info
python -m etwtrace --info --instrumented
python -m etwtrace --info --diaghubtest
python -m pytest -vv
env:
PYTHONPATH: ${{ github.workspace }}\src
- name: Test build sdist
run: |
python -m pymsbuild sdist
python -m pip wheel (gi dist\*.tar.gz) -w dist
dir dist
- name: Test CLI from wheel install
run: |
python -m venv test-env
test-env/Scripts/python -m pip install (gi dist\*.whl) pytest
test-env/Scripts/python -m pytest -vv tests/test_cli.py