diff --git a/.github/workflows/ci_build_major_branch.yml b/.github/workflows/ci_build_major_branch.yml index 2ea8310cb4..e857f5f6c4 100644 --- a/.github/workflows/ci_build_major_branch.yml +++ b/.github/workflows/ci_build_major_branch.yml @@ -35,11 +35,6 @@ jobs: slice_length: ${{ steps.generate_slice_length.outputs.slice_length }} steps: - - name: Install prerequisites - run: | - apt-get update - apt-get install -y jq - - name: Disable safe.directory check run: | git config --global --add safe.directory '*' @@ -47,6 +42,9 @@ jobs: - name: Checkout QMK Firmware uses: actions/checkout@v6 + - name: Install dependencies + run: pip3 install -r requirements-dev.txt + - name: Determine concurrency id: generate_slice_length run: | diff --git a/.github/workflows/ci_build_major_branch_keymap.yml b/.github/workflows/ci_build_major_branch_keymap.yml index 10709172df..3b2db843a9 100644 --- a/.github/workflows/ci_build_major_branch_keymap.yml +++ b/.github/workflows/ci_build_major_branch_keymap.yml @@ -27,11 +27,6 @@ jobs: targets: ${{ steps.generate_targets.outputs.targets }} steps: - - name: Install prerequisites - run: | - apt-get update - apt-get install -y jq - - name: Disable safe.directory check run: | git config --global --add safe.directory '*' @@ -39,6 +34,9 @@ jobs: - name: Checkout QMK Firmware uses: actions/checkout@v6 + - name: Install dependencies + run: pip3 install -r requirements-dev.txt + - name: Generate build targets id: generate_targets run: | @@ -79,11 +77,6 @@ jobs: target: ${{ fromJson(needs.generate_targets.outputs.targets) }} steps: - - name: Install prerequisites - run: | - apt-get update - apt-get install -y jq - - name: Disable safe.directory check run: | git config --global --add safe.directory '*' @@ -91,6 +84,9 @@ jobs: - name: Checkout QMK Firmware uses: actions/checkout@v6 + - name: Install dependencies + run: pip3 install -r requirements-dev.txt + - name: Get target definitions uses: actions/download-artifact@v7 with: diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index ca794decf5..3d23a4fbdf 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -30,5 +30,6 @@ jobs: - name: Install dependencies run: pip3 install -r requirements-dev.txt + - name: Run tests run: qmk pytest diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5e5669ee78..8a0229f873 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -35,9 +35,10 @@ jobs: fetch-depth: 1 - name: Install dependencies + run: pip3 install -r requirements-dev.txt + + - name: Install nvm run: | - apt-get update && apt-get install -y rsync doxygen - # install nvm touch $HOME/.bashrc wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash diff --git a/.github/workflows/regen.yml b/.github/workflows/regen.yml index 6eb94c8aaa..54daadfa29 100644 --- a/.github/workflows/regen.yml +++ b/.github/workflows/regen.yml @@ -21,6 +21,9 @@ jobs: - uses: actions/checkout@v6 + - name: Install dependencies + run: pip3 install -r requirements-dev.txt + - name: Run qmk generators run: | util/regen.sh diff --git a/.github/workflows/regen_push.yml b/.github/workflows/regen_push.yml index 98d6629bc3..5d8a84b933 100644 --- a/.github/workflows/regen_push.yml +++ b/.github/workflows/regen_push.yml @@ -21,6 +21,9 @@ jobs: - uses: actions/checkout@v6 + - name: Install dependencies + run: pip3 install -r requirements-dev.txt + - name: Run qmk generators run: | util/regen.sh diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 2384cfb039..7edc240355 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -29,7 +29,9 @@ jobs: - uses: actions/checkout@v6 with: submodules: recursive + - name: Install dependencies run: pip3 install -r requirements-dev.txt + - name: Run tests run: qmk test-c