Skip to content

Rozšířit CI na partial, workflow_dispatch #249

Rozšířit CI na partial, workflow_dispatch

Rozšířit CI na partial, workflow_dispatch #249

Workflow file for this run

name: partial
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
partial:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: true
matrix:
os: ['ubuntu-latest', 'windows-latest']
python-version: ['3.12', '3.8'] # na partial nam staci nejnovejsi a nejstarsi verze
module: ['datovky', 'dotinfo', 'eufondy', 'iissp', 'czechpoint', 'justice', 'psp', 'steno', 'smlouvy', 'szif', 'zakazky', 'volby', 'udhpsh', 'res', 'ruian', 'ares']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run partial processing
run: |
python3 main.py --connstring sqlite:///data.db --partial ${{ matrix.module }}