diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c3886d9..d33c8f7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,7 +29,7 @@ jobs: - name: Run tests run: | source .env/bin/activate - pytest + ./tests.sh test_macos: runs-on: macos-latest @@ -45,15 +45,15 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | + python -m pip install --upgrade pip python -m venv .env source .env/bin/activate - python -m pip install --upgrade pip pip install -r requirements.txt - maturin develop --release + maturin develop --release - name: Run tests run: | source .env/bin/activate - pytest + ./tests.sh test_windows: runs-on: windows-latest @@ -69,12 +69,12 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | + python -m pip install --upgrade pip python -m venv .env .env\Scripts\activate - python -m pip install --upgrade pip pip install -r requirements.txt - maturin develop --release + maturin develop --release - name: Run tests run: | .env\Scripts\activate - pytest + tests.bat