From 22407458cf766f083eb8e97ceb9403b420262750 Mon Sep 17 00:00:00 2001 From: Patrick Huck Date: Thu, 23 May 2024 16:51:30 -0700 Subject: [PATCH] Update pull-request.yml --- .github/workflows/pull-request.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index c993e734..35ccd301 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -10,6 +10,9 @@ on: branches: - main +permissions: + contents: read + jobs: build: runs-on: ubuntu-latest @@ -34,7 +37,8 @@ jobs: python${{ matrix.python-version }} -m pip install --upgrade pip packaging wheel python${{ matrix.python-version }} -m pip install `grep numpy== requirements/ubuntu-latest_py${{ matrix.python-version }}_extras.txt` python${{ matrix.python-version }} -m pip install -r requirements/ubuntu-latest_py${{ matrix.python-version }}_extras.txt - python${{ matrix.python-version }} -m pip install --no-deps . + python${{ matrix.python-version }} -m pip install --upgrade pip + python${{ matrix.python-version }} -m pip install --no-deps .[server] - name: Test modules run: python${{ matrix.python-version }} -m pytest tests - name: Test example apps