Skip to content

Merge pull request #2 from neo-sonar/dependabot/github_actions/action… #6

Merge pull request #2 from neo-sonar/dependabot/github_actions/action…

Merge pull request #2 from neo-sonar/dependabot/github_actions/action… #6

Workflow file for this run

name: PIP
on:
pull_request:
push:
branches:
- main
jobs:
build:
name: ${{ matrix.platform }} - ${{ matrix.python-version }}
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-latest] # windows-latest
python-version: ["3.7", "3.12", "pypy-3.9"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Build and install
run: pip install --verbose .[test]
- name: Test
run: pytest