Skip to content

Increase version to 0.3.3 #212

Increase version to 0.3.3

Increase version to 0.3.3 #212

Workflow file for this run

name: Test code
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
name: Tests
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
# Setup
- run: sudo apt-get install binutils sbsigntool
# directory is needed for arch linux tests
- run: sudo mkdir -p /etc/mkinitcpio.d
# Setup workspace
- run: set -e
- run: python3 --version
- run: python3 -m venv .venv --system-site-packages
- run: . .venv/bin/activate
- run: pip3 install --upgrade setuptools pip
- run: pip3 install pycodestyle pyflakes
- run: pip3 install -e . --no-deps
# Run Tests
- run: python3 -m unittest tests/unit/tests.py
# Check syntax
- run: sudo apt-get install shellcheck
- run: shellcheck usr/lib/initcpio/install/verity-squash-root
usr/lib/verity-squash-root/*
usr/lib/dracut/modules.d/99verity-squash-root/*.sh
usr/share/bash-completion/completions/verity-squash-root
- run: pip3 install flake8 mypy
- run: flake8 src/ tests/ setup.py
- run: mypy src