diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index a51f9ec..3c4bc81 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -1,14 +1,14 @@ name: Test behavex in latest python versions - on: [push, pull_request] jobs: test-behavex: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: + os: [ubuntu-latest, windows-latest, macos-latest] python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: @@ -24,13 +24,11 @@ jobs: run: | python -m pip install 'setuptools>=61' - - name: Build package - run: python -m build - - - name: Install package + - name: Install behavex run: | - $package_file = Get-ChildItem dist\*.tar.gz | Select-Object -First 1 - pip install $package_file + python -m pip install --upgrade pip + python setup.py sdist + pip install dist/behavex-4.0.9rc1.tar.gz -f - name: Verify behavex command run: behavex ./tests/features/*.feature