Run tests in CI #8
Workflow file for this run
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: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
run_tests: | |
name: Tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install dependencies | |
uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: dkms cryptsetup xfs xfsprogs | |
version: 1.0 | |
- name: Check cryptsetup enabled | |
run: cryptsetup benchmark -c aes-xts-plain64 -s 512 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dm-writeboost target | |
run: sudo make install | |
- name: Insmod dm-writeboost | |
run: modprobe dm-writeboost |