Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
tfeldmann committed Nov 29, 2023
1 parent 304a25d commit 551e82e
Show file tree
Hide file tree
Showing 2 changed files with 163 additions and 166 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
- main
workflow_dispatch:

# https://github.com/python-poetry/poetry/issues/8623
env:
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring

jobs:
build:
runs-on: ${{ matrix.os }}
Expand All @@ -21,10 +25,6 @@ jobs:
python-version: ["3.9", "3.10", "3.11"]
fail-fast: false

# https://github.com/python-poetry/poetry/issues/8623
env:
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring

steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand All @@ -36,13 +36,10 @@ jobs:

- name: Setup Environment
run: |
python3 -m pip install --upgrade pip poetry lxml
python3 -m keyring --disable
- name: Install dependencies
run: |
poetry config virtualenvs.create false &&
poetry install --with=dev --extras=textract
python3 -m pip install -U pip setuptools
python3 -m pip install poetry==1.7.1 lxml
poetry config virtualenvs.create false
poetry install --with=dev --extras=textract --no-root
- name: Version info
run: |
Expand Down

0 comments on commit 551e82e

Please sign in to comment.