From 11593528755cf4378121bc921358c644513516fc Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Wed, 3 Aug 2022 11:50:26 +0200 Subject: [PATCH 1/2] fix ci Signed-off-by: Antonio Murdaca --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f96a36..6d10d61 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,10 +62,10 @@ jobs: run: sudo apt-get update - name: Install system dependencies run: | - sudo apt-get install libdevmapper-dev + sudo apt-get install libdevmapper-dev libbtrfs-dev - name: Install s2i run: | - go get github.com/openshift/source-to-image/cmd/s2i + go install github.com/openshift/source-to-image/cmd/s2i@a364722d1db0ee1aab5e83cdb6631d3a29a635e3 - name: Build a server container run: | $HOME/go/bin/s2i build . registry.access.redhat.com/ubi8/python-36 zezere:testimg From efb2d6e248eb8064139a87c600cc5e44c6622add Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Wed, 3 Aug 2022 12:13:10 +0200 Subject: [PATCH 2/2] fix python tests Signed-off-by: Antonio Murdaca --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d10d61..6e2386a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: pip install -r requirements-test.txt - name: Check typing run: | - mypy zezere + mypy --install-types --non-interactive zezere - name: Code style checking run: | black --check --target-version py36 zezere tests *.py