Skip to content

Commit

Permalink
Install pylsp to run python code unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gordon-klotho committed Mar 6, 2024
1 parent 1cd3a5a commit 2840a11
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2840a11

Please sign in to comment.