From a5aede57768b6cf72c63a035d607f7796c0134df Mon Sep 17 00:00:00 2001 From: thijsvl Date: Mon, 18 Nov 2024 10:40:14 +0100 Subject: [PATCH] Updated GitHub action build --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a5eb13..7ddc2f6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies with a variety of Python versions # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python -name: Build +name: Build and pytest on: push: @@ -30,5 +30,7 @@ jobs: python -m pip install --upgrade pip python -m pip install build python -m pip install ".[dev,docs,demo]" + - name: Build the package + run: python -m build - name: Test with pytest run: python -m pytest