From 2840a1129ab56f3ccb8d87a7f4ada825279e0b03 Mon Sep 17 00:00:00 2001 From: Gordon Date: Wed, 6 Mar 2024 14:45:14 -0500 Subject: [PATCH] Install pylsp to run python code unit tests --- .github/workflows/test.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d0e583878..91a30c54e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -30,9 +30,17 @@ jobs: restore-keys: | ${{ runner.os }}-go- + - uses: actions/setup-python@v5 + with: + python-version: '3.10' + - name: Install lang servers + run: | + python3 -m pip install python-lsp-server[all] + - name: Run test run: | touch pkg/auth/auth0_client_secret.key + export PATH=$HOME/.local/bin:$PATH go test -race -v -coverprofile=c.out ./... - name: Update coverage report