diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..153fb50b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build + +on: + push: + branches: [main] + pull_request: + # Check all PR + +jobs: + build: + name: tests + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: setup Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + - run: python -m pip install tox + - name: Build package + run: tox -e build diff --git a/.github/workflows/build-release.yml b/.github/workflows/release.yml similarity index 92% rename from .github/workflows/build-release.yml rename to .github/workflows/release.yml index 54edea6d..22c51b1e 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/release.yml @@ -1,11 +1,8 @@ -name: Build and Release +name: Release on: push: - branches: [main] tags: ["*"] - pull_request: - # Check all PR jobs: build: