Fat32Content: fix archive support and add support for libparted >= 3.6 #161
This file contains 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: tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
run-tests-and-lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install mtools e2fsprogs cryptsetup-bin dosfstools fdisk libparted-dev fakeroot | |
- name: Install pip dependencies | |
run: python -m pip install --upgrade pip setuptools wheel | |
- name: Install python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r dev-requirements.txt | |
- name: Install packages | |
run: | | |
pip install -e embdgen-core | |
pip install -e embdgen-cominit | |
pip install -e embdgen-config-yaml | |
- name: Run tests | |
run: scripts/run_tests.sh | |
- name: Run lint | |
run: scripts/run_lint.sh | |
- name: Run mypy | |
run: scripts/run_mypy.sh |