From 920dd3c0cef52c0946f6bb9cd4fbf4a142bfbc9d Mon Sep 17 00:00:00 2001 From: Andrii Nikitin Date: Thu, 16 Nov 2023 09:54:14 +0100 Subject: [PATCH] ci: add ci --- .github/workflows/test.yml | 11 ----------- .github/workflows/test.yml.1 | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/test.yml.1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5742ab..59566ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,17 +7,6 @@ on: [push, pull_request, workflow_dispatch] jobs: test: runs-on: ubuntu-latest - strategy: - matrix: - product: - - environ.d/ap - - environ.d/fk - - environ.d/ma - - environ.d/md - - environ.d/ng - - environ.d/pg - - envrion.d/rs - - '.' steps: - uses: actions/checkout@v2 - name: Test diff --git a/.github/workflows/test.yml.1 b/.github/workflows/test.yml.1 new file mode 100644 index 0000000..3f71401 --- /dev/null +++ b/.github/workflows/test.yml.1 @@ -0,0 +1,21 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +on: [push, pull_request, workflow_dispatch] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + image: + - tumbleweed + - leap:15.2 + - leap:15.3 + steps: + - uses: actions/checkout@v2 + - name: Test + run: for f in t/*.sh ; do $f && continue; echo FAIL $f; exit 1; done + env: + ENVIRON_TEST_IMAGE: registry.opensuse.org/opensuse/${{ matrix.image }}