Skip to content

Commit

Permalink
Fix up release test
Browse files Browse the repository at this point in the history
We were checking out the repo twice...
  • Loading branch information
mara004 committed Oct 8, 2023
1 parent f8fa27d commit bea473d
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/test_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bea473d

Please sign in to comment.