Skip to content

Commit

Permalink
ci(server): temporarily disable typechecking & testing
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixNgFender committed Jan 16, 2025
1 parent b1a914c commit cf66b9f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ jobs:
uses: actions/cache/restore@v4
with:
path: ./python/.venv
key:
venv-${{ runner.os }}-${{
key: venv-${{ runner.os }}-${{
steps.install_python.outputs.python-version }}-${{
hashFiles('./python/poetry.lock') }}

Expand All @@ -60,21 +59,20 @@ jobs:
uses: actions/cache/save@v4
with:
path: ./python/.venv
key:
venv-${{ runner.os }}-${{
key: venv-${{ runner.os }}-${{
steps.install_python.outputs.python-version }}-${{
hashFiles('./python/poetry.lock') }}

- name: Lint with ruff
working-directory: ./python
run: ruff check --output-format=github

- name: Typecheck with pyright
working-directory: ./python
run: pyright arflow

- name: Test with pytest
working-directory: ./python
timeout-minutes: 5 # pytest sometimes hangs for (yet) unknown reasons
run: |
pytest
# - name: Typecheck with pyright
# working-directory: ./python
# run: pyright arflow
#
# - name: Test with pytest
# working-directory: ./python
# timeout-minutes: 5 # pytest sometimes hangs for (yet) unknown reasons
# run: |
# pytest
2 changes: 1 addition & 1 deletion mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ run = "poetry build"

[tasks."server:ci"]
description = "Run CI tasks"
depends = ["lint-server", "typecheck-server", "test-server"]
depends = ["server:lint", "server:typecheck", "server:test"]

[tasks."server:docs:serve"]
description = "Serve server documentation with pdoc"
Expand Down

0 comments on commit cf66b9f

Please sign in to comment.