Fix broken team dashboard for non-authenticated users (#2915) #1114
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Backend | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- requirements/** | |
- docker** | |
- pontoon/** | |
- .github/workflows/backend.yml | |
pull_request: | |
branches: | |
- master | |
paths: | |
- requirements/** | |
- docker** | |
- pontoon/** | |
- .github/workflows/backend.yml | |
workflow_dispatch: | |
jobs: | |
test: | |
name: pytest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: make build | |
- name: Pytest | |
run: make pytest | |
env: | |
run_opts: --user=root # volumes are only writable by root on gh | |
- uses: codecov/codecov-action@v3 | |
with: { flags: backend } |