all Linux platforms #20
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: Test | |
| on: [push] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, ubuntu-22.04-arm] | |
| steps: | |
| - name: Install system packages | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y asciidoc python3-pygit2 python3-pip | |
| - name: Install Python packages | |
| run: | | |
| pip install --upgrade pip | |
| pip install pylint pycodestyle | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Test | |
| run: | | |
| git config --global user.email "testuser@example.com" | |
| git config --global user.name "Test User" | |
| gpg --batch --gen-key .github/workflows/testkey.conf | |
| make KEY:=$(gpg --list-keys --with-colons | awk -F: '/^pub/ {print $5; exit}') test |