Move to GitHub Actions #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |