This repository was archived by the owner on Apr 24, 2026. It is now read-only.
Add /usr/lib/modules as a new volume to enable loading of kernel modules #19
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: Linter and Container tests | |
| on: | |
| issue_comment: | |
| branches: | |
| - "master" | |
| types: | |
| - "created" | |
| - "edited" | |
| - "deleted" | |
| jobs: | |
| lint_and_test: | |
| if: | | |
| contains(github.event.comment.html_url, '/pull/') && | |
| contains(github.event.comment.body, '/test') | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout the current repo | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| # Prepare the runner | |
| - name: Prepare the runner | |
| run: | | |
| sudo apt install shellcheck | |
| sudo npm install -g dockerfile_lint | |
| # Run the linter tests | |
| - name: Run linter tests | |
| run: make | |
| # Run the container tests for CentOS | |
| - name: Run CentOS container tests | |
| run: tests/container-tests.sh centos | |
| # Run the container tests for Fedora | |
| - name: Run Fedora container tests | |
| run: tests/container-tests.sh fedora |