File tree Expand file tree Collapse file tree 4 files changed +8
-15
lines changed Expand file tree Collapse file tree 4 files changed +8
-15
lines changed Original file line number Diff line number Diff 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 openai'
30+ - name : Run lints
31+ run : ./scripts/lint
4232 test :
4333 name : test
4434 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 44
55cd " $( dirname " $0 " ) /.."
66
7+ echo " ==> Running formatters"
78rye run format
8-
Original file line number Diff line number Diff line change 44
55cd " $( dirname " $0 " ) /.."
66
7+ echo " ==> Running lints"
78rye run lint
89
10+ echo " ==> Making sure it imports"
11+ rye run python -c ' import openai'
12+
Original file line number Diff line number Diff line change 5252 echo
5353fi
5454
55- # Run tests
5655echo " ==> Running tests"
5756rye run pytest " $@ "
You can’t perform that action at this time.
0 commit comments