Merge pull request #66 from scspijker/new_button_plus_api #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12.4' | |
cache: 'pip' # caching pip dependencies, speeds things up | |
- name: Install dependencies | |
run: pip install . | |
- name: Install Hatch | |
run: pipx install hatch | |
- name: Run tests | |
run: hatch test | |
- name: Build dist | |
run: hatch build |