diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cbfe05e..09d3000 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,12 +3,24 @@ name: Run tests on: [push] jobs: + lint: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.8 + uses: actions/setup-python@v5 + with: + python-version: "3.8" + - name: Install dependencies + run: pip install -r requirements.txt + - name: Run pre-commit + run: pre-commit run --all-files + build: runs-on: ubuntu-22.04 strategy: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] - steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -17,8 +29,6 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: pip install -r requirements.txt - - name: Run pre-commit - run: pre-commit run --all-files - name: Install package run: pip install . - name: Run pytest diff --git a/pyproject.toml b/pyproject.toml index 2a39a17..8fd8d67 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,3 @@ [build-system] -requires = ["setuptools", "wheel", "setuptools-scm"] +requires = ["setuptools", "setuptools-scm"] +build-backend = "setuptools.build_meta"