Skip to content

Commit 4c8a883

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
chore(internal): add slightly better logging to scripts (#383)
1 parent a0f15fa commit 4c8a883

File tree

4 files changed

+8
-15
lines changed

4 files changed

+8
-15
lines changed

.github/workflows/ci.yml

+3-13
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,10 @@ jobs:
2525
RYE_INSTALL_OPTION: '--yes'
2626

2727
- name: Install dependencies
28-
run: |
29-
rye sync --all-features
30-
31-
- name: Run ruff
32-
run: |
33-
rye run check:ruff
28+
run: rye sync --all-features
3429

35-
- name: Run type checking
36-
run: |
37-
rye run typecheck
38-
39-
- name: Ensure importable
40-
run: |
41-
rye run python -c 'import finch'
30+
- name: Run lints
31+
run: ./scripts/lint
4232
test:
4333
name: test
4434
runs-on: ubuntu-latest

scripts/format

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ set -e
44

55
cd "$(dirname "$0")/.."
66

7+
echo "==> Running formatters"
78
rye run format
8-

scripts/lint

+4
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@ set -e
44

55
cd "$(dirname "$0")/.."
66

7+
echo "==> Running lints"
78
rye run lint
89

10+
echo "==> Making sure it imports"
11+
rye run python -c 'import finch'
12+

scripts/test

-1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,5 @@ else
5252
echo
5353
fi
5454

55-
# Run tests
5655
echo "==> Running tests"
5756
rye run pytest "$@"

0 commit comments

Comments
 (0)