From 7381514d6ee9bd427be95a18b28f1698e7de67b5 Mon Sep 17 00:00:00 2001 From: Rashif Ray Rahman Date: Wed, 20 Dec 2023 17:43:46 +0600 Subject: [PATCH] Add a CI test step for testing packaging commands So that we don't get surprises on the actual publication. --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c5873d8..b74f8fa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,6 +40,11 @@ jobs: run: | make test + - name: Test packaging + run: | + python setup.py sdist bdist_wheel + twine check dist/* + - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 with: