From fa08e0987bea6a094deb48fda6b61d37373b4520 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 12 May 2023 17:28:15 -0300 Subject: [PATCH] Add check-package step also to 'test' workflow This ensures we do not have any surprises when we try to deploy, which uses the same step to generate the package. --- .github/workflows/test.yml | 8 ++++++++ setup.cfg | 1 + 2 files changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7f6effe6..a350ca6d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,14 @@ on: - "*" jobs: + + check-package: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Build and Check Package + uses: hynek/build-and-inspect-python-package@v1.5 + test: runs-on: ${{ matrix.os }} diff --git a/setup.cfg b/setup.cfg index 3162a908..77346ade 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,6 +2,7 @@ name = pytest-xdist description = pytest xdist plugin for distributed testing, most importantly across multiple CPUs long_description = file: README.rst +long_description_content_type = text/x-rst license = MIT author = holger krekel and contributors author_email = pytest-dev@python.org,holger@merlinux.eu