From 08c73a2436b18f3a02baf2a3a763e00b403f8a9c21e37d3629bd6940f0d85633 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Moreno Date: Wed, 13 Nov 2024 11:22:27 +0100 Subject: [PATCH 1/3] Add build ci --- .gitea/workflows/ci.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..f0c96d7 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,13 @@ +name: OBS build +run-name: build +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: List files in the repository + run: | + ls ${{ gitea.workspace }} -- 2.45.2 From 8807b73707112c04a7703e5132051f0c2ad5390564a003cec206ba9b34197fd7 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Moreno Date: Wed, 13 Nov 2024 12:07:26 +0100 Subject: [PATCH 2/3] Break tests --- spec-cleaner.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/spec-cleaner.spec b/spec-cleaner.spec index 6bac506..7eb2204 100644 --- a/spec-cleaner.spec +++ b/spec-cleaner.spec @@ -69,6 +69,7 @@ donttest="webtest or url_https.spec" # the secure url exists donttest+=" or source_https or rpmpreamble.spec or replace_pwdutils.spec or mingw32-clutter.spec" python3 -m pytest -k "not ($donttest)" tests/*-tests.py +exit 1 %install %if 0%{?mageia} -- 2.45.2 From eff2380c6c47d9d6c07b36214e3ea2b511ff8a5b17c7d110ae8a2d154fb8b0cf Mon Sep 17 00:00:00 2001 From: Daniel Garcia Moreno Date: Wed, 13 Nov 2024 12:08:43 +0100 Subject: [PATCH 3/3] Move exit to the begining --- spec-cleaner.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec-cleaner.spec b/spec-cleaner.spec index 7eb2204..4316f9b 100644 --- a/spec-cleaner.spec +++ b/spec-cleaner.spec @@ -62,6 +62,7 @@ rm pytest.ini %endif %check +exit 1 export LANG=en_US.UTF-8 # Tests that requires network donttest="webtest or url_https.spec" @@ -69,7 +70,6 @@ donttest="webtest or url_https.spec" # the secure url exists donttest+=" or source_https or rpmpreamble.spec or replace_pwdutils.spec or mingw32-clutter.spec" python3 -m pytest -k "not ($donttest)" tests/*-tests.py -exit 1 %install %if 0%{?mageia} -- 2.45.2