diff --git a/.github/workflows/pytest_ords.yml b/.github/workflows/pytest_ords.yml index 269a7aa..2675d07 100644 --- a/.github/workflows/pytest_ords.yml +++ b/.github/workflows/pytest_ords.yml @@ -12,7 +12,7 @@ jobs: python-version: [3.11] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref }} fetch-depth: 1 @@ -23,26 +23,17 @@ jobs: channels: conda-forge,defaults python-version: ${{ matrix.python-version }} miniconda-version: "latest" - - name: Install dependencies' + - name: Install dependencies shell: bash -l {0} run: | - python -c "import sqlite3; print(0, sqlite3)" - conda install -c conda-forge poppler --freeze-installed --no-update-deps --no-channel-priority - python -c "import sqlite3; print(1, sqlite3)" + conda install -c conda-forge poppler python -m pip install --upgrade pip - python -c "import sqlite3; print(2, sqlite3)" python -m pip install pdftotext - python -c "import sqlite3; print(3, sqlite3)" python -m pip install pytest - python -c "import sqlite3; print(4, sqlite3)" python -m pip install pytest-mock - python -c "import sqlite3; print(5, sqlite3)" python -m pip install pytest-cov - python -c "import sqlite3; print(6, sqlite3)" python -m pip install . - python -c "import sqlite3; print(7, sqlite3)" playwright install - python -c "import sqlite3; print(8, sqlite3)" - name: Run pytest and Generate coverage report shell: bash -l {0} run: |