Skip to content

Commit

Permalink
ZTS: Remove functional tests via matrix
Browse files Browse the repository at this point in the history
This commit changes the workflow of the github actions.

- Ubuntu 20.04, 22.04, 24.04 will be tested via QEMU now
- remove unused scripts of this commit: b7bc334
- re-add the zloop standalone testings via zloop.yml

Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Tony Hutter <[email protected]>
Signed-off-by: Tino Reichardt <[email protected]>
Closes openzfs#16549
  • Loading branch information
mcmilk authored and behlendorf committed Sep 20, 2024
1 parent 7a965b9 commit 45a4a94
Show file tree
Hide file tree
Showing 11 changed files with 76 additions and 495 deletions.
57 changes: 0 additions & 57 deletions .github/workflows/build-dependencies.txt

This file was deleted.

5 changes: 0 additions & 5 deletions .github/workflows/checkstyle-dependencies.txt

This file was deleted.

19 changes: 10 additions & 9 deletions .github/workflows/checkstyle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install dependencies
run: |
# https://github.com/orgs/community/discussions/47863
sudo apt-mark hold grub-efi-amd64-signed
sudo apt-get update --fix-missing
sudo apt-get upgrade
sudo xargs --arg-file=${{ github.workspace }}/.github/workflows/build-dependencies.txt apt-get install -qq
sudo xargs --arg-file=${{ github.workspace }}/.github/workflows/checkstyle-dependencies.txt apt-get install -qq
sudo python3 -m pip install --quiet flake8
sudo apt-get clean
# for x in lxd core20 snapd; do sudo snap remove $x; done
sudo apt-get purge -y snapd google-chrome-stable firefox
ONLY_DEPS=1 .github/workflows/scripts/qemu-3-deps.sh ubuntu22
sudo apt-get install -y cppcheck devscripts mandoc pax-utils shellcheck
sudo python -m pipx install --quiet flake8
# confirm that the tools are installed
# the build system doesn't fail when they are not
checkbashisms --version
Expand All @@ -31,8 +27,13 @@ jobs:
shellcheck --version
- name: Prepare
run: |
sed -i '/DEBUG_CFLAGS="-Werror"/s/^/#/' config/zfs-build.m4
./autogen.sh
- name: Configure
run: |
./configure
- name: Make
run: |
make -j$(nproc) --no-print-directory --silent
- name: Checkstyle
run: |
Expand Down
119 changes: 0 additions & 119 deletions .github/workflows/scripts/generate-summary.sh

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/scripts/qemu-3-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ case "$1" in
;;
esac

# This script is used for checkstyle + zloop deps also.
# Install only the needed packages and exit - when used this way.
test -z "${ONLY_DEPS:-}" || exit 0

# Start services
echo "##[group]Enable services"
case "$1" in
Expand Down
88 changes: 0 additions & 88 deletions .github/workflows/scripts/setup-dependencies.sh

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/scripts/setup-functional.sh

This file was deleted.

Loading

0 comments on commit 45a4a94

Please sign in to comment.