Skip to content

Update GitHub Actions to use trusted publisher #91

Update GitHub Actions to use trusted publisher

Update GitHub Actions to use trusted publisher #91

Workflow file for this run

name: Run Python unit tests
on:
pull_request:
types: [ labeled, unlabeled, opened, reopened, synchronize ]
jobs:
changelog:
name: Updates changelog
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dangoslen/changelog-enforcer@v3
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'
cache-dependency-path: 'pyproject.toml'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install '.[development]'
- name: Run linter and test suite
run: |
make lint
make test