diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 2bf994f..a4d7578 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -68,8 +68,10 @@ jobs: - name: Build sdist run: > - pip install build + pip install build twine check-manifest && python -m build --sdist . --outdir dist + && twine check dist/* + && check-manifest --verbose - uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/tarball-tests.yml b/.github/workflows/tarball-tests.yml deleted file mode 100644 index cd2f3e8..0000000 --- a/.github/workflows/tarball-tests.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Tarball tests - -on: - pull_request: - push: - branches: [main] - -jobs: - run: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Setup Micromamba - uses: mamba-org/setup-micromamba@v2 - with: - environment-name: TEST - init-shell: bash - create-args: >- - python=3 python-build numpy --file requirements-dev.txt --channel conda-forge - - - name: Tarball - shell: bash -l {0} - run: > - python -m build --skip-dependency-check --sdist --wheel . - && check-manifest --verbose - && twine check dist/* diff --git a/requirements-dev.txt b/requirements-dev.txt index dbeb3a3..7b8d47a 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,3 @@ -check-manifest dask numpydoc pandas>=2 @@ -7,5 +6,4 @@ scipy setuptools_scm sphinx sphinx_rtd_theme -twine xarray \ No newline at end of file