incus-os: Swap screenshot for Youtube video #940
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: Static analysis and build test | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python: | |
| - "3.8" | |
| - "3.9" | |
| - "3.10" | |
| - "3.11" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y man2html-base | |
| - name: Install Python dependencies | |
| run: | | |
| pip3 install -r requirements.txt | |
| pipx install black | |
| - name: Static analysis | |
| run: | | |
| black --check generate sync-forum extensions/ | |
| - name: Build website | |
| run: ./generate |