Skip to content

Use bash shell as default shell #7

Use bash shell as default shell

Use bash shell as default shell #7

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Alec Delaney, for Adafruit Industries
#
# SPDX-License-Identifier: MIT
name: Build CI
on: ["push", "pull_request"]
jobs:
build:
name: Run build CI
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Setup Python 3.X
uses: actions/setup-python@v5
- name: Checkout the repository
uses: actions/checkout@v4
- name: Install requirements
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run pre-commit via make
run: |
make check
- name: Run pytest via coverage.py
run: |
make test
- name: Test packaging
run: |
python -m build