diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ef3fdc..0348c9b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,19 +13,26 @@ jobs: build: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: - python-version: "3.10" + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install pre-commit - pip install -e . + pip install -e ".[testing]" - name: Run pre-commit checks run: | pre-commit install pre-commit run --all-files + - name: Test with pytest + run: | + pytest \ No newline at end of file