diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 8c1a6baa..2ec9311b 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -106,8 +106,7 @@ jobs: os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -127,6 +126,10 @@ jobs: python-version: [3.8, 3.9, "3.10", "3.11"] runs-on: windows-latest steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} - name: Install OpenSSL id: vcpkg uses: johnwason/vcpkg-action@v5 @@ -137,16 +140,12 @@ jobs: - name: Set OPENSSL_DIR environment variable shell: bash run: echo "OPENSSL_DIR=${{ github.workspace }}\\vcpkg\\installed\\x64-windows-release" >> $GITHUB_ENV - - name: Checkout - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - name: Build and test run: | pip install virtualenv virtualenv venv; venv\Scripts\activate.ps1 pwd + env python -m pip install --upgrade pip maturin python -m pip install pytest maturin develop --manifest-path yara-x-py/Cargo.toml