File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed
Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,21 @@ jobs:
1515 steps :
1616 - name : Checkout Repo
1717 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+ with :
19+ persist-credentials : false
20+
1821 - name : Install poetry
1922 run : pipx install poetry
23+
2024 - name : Set up Python
2125 uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
2226 with :
2327 python-version : ' 3.9'
2428 cache : ' poetry'
29+
2530 - name : Setup
2631 run : poetry env use 3.9
32+
2733 - name : Environment information
2834 run : poetry env info
2935 - name : Build package
Original file line number Diff line number Diff line change @@ -21,29 +21,42 @@ jobs:
2121 steps :
2222 - name : Checkout Repo
2323 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24+ with :
25+ persist-credentials : false
26+
2427 - name : Install poetry
2528 run : pipx install poetry
29+
2630 - name : Set up Python
2731 uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
2832 with :
2933 python-version : ' 3.9'
3034 cache : ' poetry'
35+
3136 - name : Setup
3237 run : poetry env use 3.9
38+
3339 - name : Environment information
3440 run : poetry env info
41+
3542 - name : Build
3643 run : poetry install --with dev,test
44+
3745 - name : Run isort
3846 run : poetry run isort . --check-only
47+
3948 - name : Run docformatter
4049 run : poetry run docformatter --in-place --config ./pyproject.toml src/
50+
4151 - name : Run black
4252 run : poetry run black . --check
53+
4354 - name : Run flake8
4455 run : poetry run flake8 .
56+
4557 - name : Run mypy
4658 run : poetry run mypy .
59+
4760 - name : Test
4861 run : poetry run pytest
4962
@@ -56,17 +69,24 @@ jobs:
5669 steps :
5770 - name : Checkout Repo
5871 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
72+ with :
73+ persist-credentials : false
74+
5975 - name : Install poetry
6076 run : pipx install poetry
77+
6178 - name : Set up Python
6279 uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
6380 with :
6481 python-version : ' 3.9'
6582 cache : ' poetry'
83+
6684 - name : Setup
6785 run : poetry env use 3.9
86+
6887 - name : Environment information
6988 run : poetry env info
89+
7090 - name : Build
7191 run : |
7292 cd examples/flask
@@ -81,19 +101,25 @@ jobs:
81101 steps :
82102 - name : Checkout Repo
83103 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
104+ with :
105+ persist-credentials : false
106+
84107 - name : Install poetry
85108 run : pipx install poetry
109+
86110 - name : Set up Python
87111 uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
88112 with :
89113 python-version : ' 3.9'
90114 cache : ' poetry'
115+
91116 - name : Setup
92117 run : poetry env use 3.9
118+
93119 - name : Environment information
94120 run : poetry env info
121+
95122 - name : Build
96123 run : |
97124 cd examples/streamlit
98- poetry install --with dev
99-
125+ poetry install --with dev
You can’t perform that action at this time.
0 commit comments