diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index bfb2ec5..af7cea7 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -2,21 +2,48 @@ name: Checks on: push: - branches: ["**"] + branches: + - main + pull_request: + +permissions: + contents: read + +concurrency: + group: checks-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: checks: + name: Python ${{ matrix.python-version }} runs-on: ubuntu-latest + timeout-minutes: 10 + + strategy: + fail-fast: false + matrix: + python-version: + - "3.10" + - "3.14" steps: - - uses: actions/checkout@v4 + - name: Check out repository + uses: actions/checkout@v7 - - uses: actions/setup-python@v5 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v7 with: - python-version: "3.13" + python-version: ${{ matrix.python-version }} + cache: pip + cache-dependency-path: requirements.txt - name: Install dependencies - run: make install + run: | + python -m pip install --upgrade pip + python -m pip install -r requirements.txt + + - name: Check syntax + run: python -m compileall -q main.py - - name: Run app - run: make build + - name: Run application + run: python main.py diff --git a/requirements.txt b/requirements.txt index 6b1586a..58a5592 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -featurevisor==1.0.0 +featurevisor==2.0.0