Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 34 additions & 7 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
featurevisor==1.0.0
featurevisor==2.0.0