chore: show test logs through docker compose #11
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: Pyright python check | |
on: | |
push: | |
branches: | |
- total-fix-authorization | |
jobs: | |
pyright: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install poetry | |
uses: abatilo/actions-poetry@v2 | |
- name: Install dependencies | |
run: poetry install | |
- name: Run Pyright | |
run: poetry run pyright > pyright_output.txt | |
continue-on-error: true | |
- name: Check Pyright results | |
run: | | |
cat pyright_output.txt | |
if ! grep -q "0 errors, 0 warnings" pyright_output.txt; then | |
echo "Pyright issues found!" | |
exit 1 | |
fi |