Skip to content

Commit d2706fe

Browse files
committed
chore: remove setup and pull pipeline
1 parent 105bf69 commit d2706fe

File tree

3 files changed

+97
-97
lines changed

3 files changed

+97
-97
lines changed

.github/workflows/lineless_table_rec.yml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -35,40 +35,40 @@ jobs:
3535
3636
pytest tests/test_lineless_table_rec.py
3737
38-
GenerateWHL_PushPyPi:
39-
needs: UnitTesting
40-
runs-on: ubuntu-latest
41-
42-
steps:
43-
- uses: actions/checkout@v3
44-
45-
- name: Set up Python 3.7
46-
uses: actions/setup-python@v4
47-
with:
48-
python-version: '3.7'
49-
architecture: 'x64'
50-
51-
- name: Run setup.py
52-
run: |
53-
pip install -r requirements.txt
54-
python -m pip install --upgrade pip
55-
pip install wheel get_pypi_latest_version
56-
57-
wget https://github.com/RapidAI/TableStructureRec/releases/download/v0.0.0/lineless_table_rec_models.zip
58-
unzip lineless_table_rec_models.zip
59-
mv lineless_table_rec_models/*.onnx lineless_table_rec/models/
60-
61-
python setup_lineless.py bdist_wheel "${{ github.event.head_commit.message }}"
62-
63-
# - name: Publish distribution 📦 to Test PyPI
64-
# uses: pypa/[email protected]
65-
# with:
66-
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
67-
# repository_url: https://test.pypi.org/legacy/
68-
# packages_dir: dist/
69-
70-
- name: Publish distribution 📦 to PyPI
71-
uses: pypa/[email protected]
72-
with:
73-
password: ${{ secrets.PYPI_API_TOKEN }}
74-
packages_dir: dist/
38+
# GenerateWHL_PushPyPi:
39+
# needs: UnitTesting
40+
# runs-on: ubuntu-latest
41+
#
42+
# steps:
43+
# - uses: actions/checkout@v3
44+
#
45+
# - name: Set up Python 3.7
46+
# uses: actions/setup-python@v4
47+
# with:
48+
# python-version: '3.7'
49+
# architecture: 'x64'
50+
#
51+
# - name: Run setup.py
52+
# run: |
53+
# pip install -r requirements.txt
54+
# python -m pip install --upgrade pip
55+
# pip install wheel get_pypi_latest_version
56+
#
57+
# wget https://github.com/RapidAI/TableStructureRec/releases/download/v0.0.0/lineless_table_rec_models.zip
58+
# unzip lineless_table_rec_models.zip
59+
# mv lineless_table_rec_models/*.onnx lineless_table_rec/models/
60+
#
61+
# python setup_lineless.py bdist_wheel "${{ github.event.head_commit.message }}"
62+
#
63+
# # - name: Publish distribution 📦 to Test PyPI
64+
# # uses: pypa/[email protected]
65+
# # with:
66+
# # password: ${{ secrets.TEST_PYPI_API_TOKEN }}
67+
# # repository_url: https://test.pypi.org/legacy/
68+
# # packages_dir: dist/
69+
#
70+
# - name: Publish distribution 📦 to PyPI
71+
# uses: pypa/[email protected]
72+
# with:
73+
# password: ${{ secrets.PYPI_API_TOKEN }}
74+
# packages_dir: dist/

.github/workflows/table_cls.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -35,33 +35,33 @@ jobs:
3535
3636
pytest tests/test_table_cls.py
3737
38-
GenerateWHL_PushPyPi:
39-
needs: UnitTesting
40-
runs-on: ubuntu-latest
41-
42-
steps:
43-
- uses: actions/checkout@v3
44-
45-
- name: Set up Python 3.10
46-
uses: actions/setup-python@v4
47-
with:
48-
python-version: '3.10'
49-
architecture: 'x64'
50-
51-
- name: Run setup.py
52-
run: |
53-
pip install -r requirements.txt
54-
python -m pip install --upgrade pip
55-
pip install wheel get_pypi_latest_version
56-
57-
wget https://github.com/RapidAI/TableStructureRec/releases/download/v0.0.0/table_cls_models.zip
58-
unzip table_cls_models.zip
59-
mv table_cls_models/*.onnx table_cls/models/
60-
61-
python setup_table_cls.py bdist_wheel "${{ github.event.head_commit.message }}"
62-
63-
- name: Publish distribution 📦 to PyPI
64-
uses: pypa/[email protected]
65-
with:
66-
password: ${{ secrets.TABLE_CLS }}
67-
packages_dir: dist/
38+
# GenerateWHL_PushPyPi:
39+
# needs: UnitTesting
40+
# runs-on: ubuntu-latest
41+
#
42+
# steps:
43+
# - uses: actions/checkout@v3
44+
#
45+
# - name: Set up Python 3.10
46+
# uses: actions/setup-python@v4
47+
# with:
48+
# python-version: '3.10'
49+
# architecture: 'x64'
50+
#
51+
# - name: Run setup.py
52+
# run: |
53+
# pip install -r requirements.txt
54+
# python -m pip install --upgrade pip
55+
# pip install wheel get_pypi_latest_version
56+
#
57+
# wget https://github.com/RapidAI/TableStructureRec/releases/download/v0.0.0/table_cls_models.zip
58+
# unzip table_cls_models.zip
59+
# mv table_cls_models/*.onnx table_cls/models/
60+
#
61+
# python setup_table_cls.py bdist_wheel "${{ github.event.head_commit.message }}"
62+
#
63+
# - name: Publish distribution 📦 to PyPI
64+
# uses: pypa/[email protected]
65+
# with:
66+
# password: ${{ secrets.TABLE_CLS }}
67+
# packages_dir: dist/

.github/workflows/wired_table_rec.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -35,33 +35,33 @@ jobs:
3535
3636
pytest tests/test_wired_table_rec.py
3737
38-
GenerateWHL_PushPyPi:
39-
needs: UnitTesting
40-
runs-on: ubuntu-latest
41-
42-
steps:
43-
- uses: actions/checkout@v3
44-
45-
- name: Set up Python 3.7
46-
uses: actions/setup-python@v4
47-
with:
48-
python-version: '3.7'
49-
architecture: 'x64'
50-
51-
- name: Run setup.py
52-
run: |
53-
pip install -r requirements.txt
54-
python -m pip install --upgrade pip
55-
pip install wheel get_pypi_latest_version
56-
57-
wget https://github.com/RapidAI/TableStructureRec/releases/download/v0.0.0/wired_table_rec_models.zip
58-
unzip wired_table_rec_models.zip
59-
mv wired_table_rec_models/*.onnx wired_table_rec/models/
60-
61-
python setup_wired.py bdist_wheel "${{ github.event.head_commit.message }}"
62-
63-
- name: Publish distribution 📦 to PyPI
64-
uses: pypa/[email protected]
65-
with:
66-
password: ${{ secrets.PYPI_API_TOKEN }}
67-
packages_dir: dist/
38+
# GenerateWHL_PushPyPi:
39+
# needs: UnitTesting
40+
# runs-on: ubuntu-latest
41+
#
42+
# steps:
43+
# - uses: actions/checkout@v3
44+
#
45+
# - name: Set up Python 3.7
46+
# uses: actions/setup-python@v4
47+
# with:
48+
# python-version: '3.7'
49+
# architecture: 'x64'
50+
#
51+
# - name: Run setup.py
52+
# run: |
53+
# pip install -r requirements.txt
54+
# python -m pip install --upgrade pip
55+
# pip install wheel get_pypi_latest_version
56+
#
57+
# wget https://github.com/RapidAI/TableStructureRec/releases/download/v0.0.0/wired_table_rec_models.zip
58+
# unzip wired_table_rec_models.zip
59+
# mv wired_table_rec_models/*.onnx wired_table_rec/models/
60+
#
61+
# python setup_wired.py bdist_wheel "${{ github.event.head_commit.message }}"
62+
#
63+
# - name: Publish distribution 📦 to PyPI
64+
# uses: pypa/[email protected]
65+
# with:
66+
# password: ${{ secrets.PYPI_API_TOKEN }}
67+
# packages_dir: dist/

0 commit comments

Comments
 (0)