22
22
python-version : ' 3.11'
23
23
- name : Install dependencies
24
24
run : |
25
- pip install -U pip setuptools
26
- pip install -r dev-requirements.txt
27
- pip uninstall -y charset-normalizer
25
+ python -m pip install -U pip setuptools
26
+ python -m pip install -r dev-requirements.txt
27
+ python -m pip uninstall -y charset-normalizer
28
28
- name : Type checking (Mypy)
29
29
run : |
30
30
mypy --strict charset_normalizer
@@ -56,13 +56,13 @@ jobs:
56
56
allow-prereleases : true
57
57
- name : Install dependencies
58
58
run : |
59
- pip install -U pip setuptools
60
- pip install -r dev-requirements.txt
61
- pip uninstall -y charset-normalizer
59
+ python -m pip install -U pip setuptools
60
+ python -m pip install -r dev-requirements.txt
61
+ python -m pip uninstall -y charset-normalizer
62
62
- name : Install the package
63
63
run : |
64
64
python -m build --no-isolation
65
- pip install ./dist/*.whl
65
+ python -m pip install ./dist/*.whl
66
66
- name : Run tests
67
67
run : |
68
68
pytest
@@ -84,13 +84,13 @@ jobs:
84
84
python-version : ' 3.11'
85
85
- name : Install dependencies
86
86
run : |
87
- pip install -U pip setuptools
88
- pip install -r dev-requirements.txt
89
- pip uninstall -y charset-normalizer
87
+ python -m pip install -U pip setuptools
88
+ python -m pip install -r dev-requirements.txt
89
+ python -m pip uninstall -y charset-normalizer
90
90
- name : Install the package
91
91
run : |
92
92
python -m build
93
- pip install ./dist/*.whl
93
+ python -m pip install ./dist/*.whl
94
94
- name : Clone the complete dataset
95
95
run : |
96
96
git clone https://github.com/Ousret/char-dataset.git
@@ -101,41 +101,41 @@ jobs:
101
101
run : |
102
102
python ./bin/coverage.py --coverage 95
103
103
104
- integration_test :
105
-
106
- needs :
107
- - tests
108
-
109
- name : 🔗 Integration Tests
110
- runs-on : ubuntu-latest
111
-
112
- steps :
113
- - uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
114
- - name : Set up Python
115
- uses : actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
116
- with :
117
- python-version : ' 3.11'
118
- - name : Install dependencies
119
- run : |
120
- pip install -U pip setuptools
121
- pip install -r dev-requirements.txt
122
- - name : Remove Chardet & Charset-Normalizer
123
- run : |
124
- pip uninstall -y chardet
125
- pip uninstall -y charset-normalizer
126
- - name : Install the package
127
- run : |
128
- python -m build
129
- pip install ./dist/*.whl
130
- - name : Clone the complete dataset
131
- run : |
132
- git clone https://github.com/Ousret/char-dataset.git
133
- - name : Start the Flask server
134
- run : |
135
- python ./bin/serve.py &
136
- - name : Integration Tests with Requests
137
- run : |
138
- python ./bin/integration.py
104
+ # integration_test:
105
+ #
106
+ # needs:
107
+ # - tests
108
+ #
109
+ # name: 🔗 Integration Tests
110
+ # runs-on: ubuntu-latest
111
+ #
112
+ # steps:
113
+ # - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
114
+ # - name: Set up Python
115
+ # uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
116
+ # with:
117
+ # python-version: '3.11'
118
+ # - name: Install dependencies
119
+ # run: |
120
+ # pip install -U pip setuptools
121
+ # pip install -r dev-requirements.txt
122
+ # - name: Remove Chardet & Charset-Normalizer
123
+ # run: |
124
+ # pip uninstall -y chardet
125
+ # pip uninstall -y charset-normalizer
126
+ # - name: Install the package
127
+ # run: |
128
+ # python -m build
129
+ # pip install ./dist/*.whl
130
+ # - name: Clone the complete dataset
131
+ # run: |
132
+ # git clone https://github.com/Ousret/char-dataset.git
133
+ # - name: Start the Flask server
134
+ # run: |
135
+ # python ./bin/serve.py &
136
+ # - name: Integration Tests with Requests
137
+ # run: |
138
+ # python ./bin/integration.py
139
139
140
140
chardet_bc :
141
141
@@ -150,13 +150,13 @@ jobs:
150
150
python-version : ' 3.11'
151
151
- name : Install dependencies
152
152
run : |
153
- pip install -U pip setuptools
154
- pip install -r dev-requirements.txt
155
- pip uninstall -y charset-normalizer
153
+ python -m pip install -U pip setuptools
154
+ python -m pip install -r dev-requirements.txt
155
+ python -m pip uninstall -y charset-normalizer
156
156
- name : Install the package
157
157
run : |
158
158
python -m build
159
- pip install ./dist/*.whl
159
+ python -m pip install ./dist/*.whl
160
160
- name : Clone the complete dataset
161
161
run : |
162
162
git clone https://github.com/Ousret/char-dataset.git
@@ -189,14 +189,14 @@ jobs:
189
189
allow-prereleases : true
190
190
- name : Install dependencies
191
191
run : |
192
- pip install -U pip setuptools
193
- pip install -r dev-requirements.txt
194
- pip uninstall -y charset-normalizer
192
+ python -m pip install -U pip setuptools
193
+ python -m pip install -r dev-requirements.txt
194
+ python -m pip uninstall -y charset-normalizer
195
195
- name : Install the package
196
196
env :
197
197
CHARSET_NORMALIZER_USE_MYPYC : ' 1'
198
198
run : |
199
- pip install .
199
+ python -m pip install .
200
200
- name : Clone the complete dataset
201
201
run : |
202
202
git clone https://github.com/Ousret/char-dataset.git
@@ -223,13 +223,13 @@ jobs:
223
223
python-version : ' 3.11'
224
224
- name : Install dependencies
225
225
run : |
226
- pip install -U pip setuptools
227
- pip install -r dev-requirements.txt
228
- pip uninstall -y charset-normalizer
226
+ python -m pip install -U pip setuptools
227
+ python -m pip install -r dev-requirements.txt
228
+ python -m pip uninstall -y charset-normalizer
229
229
- name : Install the package
230
230
run : |
231
231
python -m build
232
- pip install ./dist/*.whl
232
+ python -m pip install ./dist/*.whl
233
233
- name : Clone the complete dataset
234
234
run : |
235
235
git clone https://github.com/Ousret/char-dataset.git
0 commit comments