From bea473d623d178317ae9d2fe6289854989ab6190 Mon Sep 17 00:00:00 2001 From: geisserml Date: Sun, 8 Oct 2023 15:54:47 +0200 Subject: [PATCH] Fix up release test We were checking out the repo twice... --- .github/workflows/test_release.yaml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test_release.yaml b/.github/workflows/test_release.yaml index 5fb8ab591..1cca6976b 100644 --- a/.github/workflows/test_release.yaml +++ b/.github/workflows/test_release.yaml @@ -28,28 +28,21 @@ jobs: with: python-version: ${{ matrix.py }} - - name: Check out pypdfium2 repository - uses: actions/checkout@v4 - with: - repository: ${{ github.repository }} - - - name: Install/update deps - run: | - python3 -m pip install -U pip setuptools - python3 -m pip install -U -r req/converters.txt -r req/test.txt - - - name: Install pypdfium2 + - name: Install pypdfium2 from package index run: python3 -m pip install -U --pre pypdfium2 --index-url ${{ inputs.index_url }} - name: Get pypdfium2 version id: version run: python3 -c "import pypdfium2; print('version=%s' % pypdfium2.PYPDFIUM_INFO['version'])" >> $GITHUB_OUTPUT - - name: Check out pypdfium2 repository + - name: Check out pypdfium2 ${{ steps.version.outputs.version }} uses: actions/checkout@v4 with: repository: ${{ github.repository }} ref: ${{ steps.version.outputs.version }} + - name: Install/update deps + run: python3 -m pip install -U -r req/converters.txt -r req/test.txt + - name: Run tests run: ./run test