File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 4646 docker run --rm opensourcecobol/opensourcecobol4j:latest sh -c "! cobj --version | grep 'unicode/utf-8 support'"
4747 docker run --rm opensourcecobol/opensourcecobol4j:latest sh -c "ocesql --version | grep 'Version $Open_COBOL_ESQL_4J_version'"
4848
49+ - name : Run simple tests inside the container
50+ run : |
51+ docker run -d --name test_container opensourcecobol/opensourcecobol4j:latest
52+ docker exec test_container sh -c "cd /root/cobol_sample && cobj HELLO.cbl && java HELLO"
53+ docker rm -f test_container
54+
4955 - name : Login to Docker Hub
5056 if : github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && inputs.push_to_dockerhub == true
5157 uses : docker/login-action@v3
8187 run : |
8288 docker images opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix" --format "table {{.Repository}}:{{.Tag}}\t{{.Size}}"
8389
90+ - name : Run simple tests inside the container
91+ run : |
92+ docker run -d --name test_container opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix"
93+ docker exec test_container sh -c "cd /root/cobol_sample && cobj HELLO.cbl && java HELLO"
94+ docker rm -f test_container
95+
8496 - name : Check the version of installed software
8597 run : |
8698 docker run --rm opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix" sh -c "cobj --version | grep 'opensource COBOL 4J $opensource_COBOL_4J_version'"
You can’t perform that action at this time.
0 commit comments