File: test.yml

package info (click to toggle)
python-zxcvbn-rs-py 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 224 kB
  • sloc: python: 63; makefile: 16; sh: 11
file content (29 lines) | stat: -rw-r--r-- 681 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Build

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python_version: ["3.10", "3.11", "3.13", "3.14", "3.14t"]

    steps:
      - uses: actions/checkout@v5
      - name: Set up Python
        uses: actions/setup-python@v6
        with:
          python-version: ${{ matrix.python_version }}
      - name: Install hatch
        run: pip install hatch
      - name: Install the project
        run: hatch env create
      - name: Local build
        run: hatch run maturin develop
      - name: Lint and typecheck
        run: |
          hatch run lint-check
      - name: Test
        run: |
          hatch run test