File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1+ name : validate
2+ on : [push, pull_request]
3+ jobs :
4+ ubi8 :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - name : Clone repository
8+ uses : actions/checkout@v3
9+
10+ - name : Run test
11+ run : |
12+ make container-ci
Original file line number Diff line number Diff line change @@ -128,4 +128,10 @@ bumpver: po-push
128128
129129ci : check test
130130
131- .PHONY : clean install tag archive local
131+ # Run tests in the container but with fixed pylint version
132+ container-ci :
133+ podman run --pull=always --rm -v .:/simpleline:Z --workdir /simpleline registry.access.redhat.com/ubi8:latest sh -c " \
134+ dnf install -y python3-pip python3-gobject-base make && pip3 install pocketlint ' pylint==2.5.3' ; \
135+ make ci"
136+
137+ .PHONY : clean install tag archive local ci container-ci
You can’t perform that action at this time.
0 commit comments