Skip to content

Move to GitHub Actions #3

Move to GitHub Actions

Move to GitHub Actions #3

Workflow file for this run

name: Continuous integration checks
on:
push:
schedule:
- cron: '0 0 * * 0' # weekly
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
apt-get install libzbar-dev
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip freeze
- name: Run tests
run: |
make test
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python 3.10
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install dependencies
run: |
apt-get install libzbar-dev
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip freeze
- name: Run quality checks
run: |
make quality