Skip to content

Commit

Permalink
improve smoketest
Browse files Browse the repository at this point in the history
Update ci_cd.yml

Update ci_cd.yml

Update ci_cd.yml
  • Loading branch information
viseshrp committed Dec 12, 2024
1 parent 1877e70 commit 315b46e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,12 @@ jobs:
library-name: ${{ env.PACKAGE_NAME }}
operating-system: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
# 1. build the wheel
# 2. install the wheel
# 3. run the smoke tests

- name: Install wheel
run: python -m pip install ${{ env.install_target }}

- name: Run smoketest
run: make smoketest

test:
name: Testing
Expand Down
2 changes: 2 additions & 0 deletions codegen/rename_whl.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
if len(chunks) == 5:
chunks.insert(2, date_tag)
new_name = "-".join(chunks)
print(f"Renaming {name} to {new_name}...")
os.rename(name, new_name)

for name in glob.glob("dist/*.tar.gz"):
chunks = name.split(".")
if len(chunks) == 5:
chunks[2] = f"{chunks[2]}-{date_tag}"
new_name = ".".join(chunks)
print(f"Renaming {name} to {new_name}...")
os.rename(name, new_name)

0 comments on commit 315b46e

Please sign in to comment.