File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 1616
1717jobs :
1818 check :
19- runs-on : ubuntu-20 .04
19+ runs-on : ubuntu-22 .04
2020
2121 strategy :
2222 matrix :
@@ -51,29 +51,33 @@ jobs:
5151 run : |
5252 export DEBIAN_FRONTEND=noninteractive
5353 sudo apt-get update
54- sudo apt-get install -y docker-compose docker.io
54+ sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
55+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
56+ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
57+ sudo apt-get update
58+ sudo apt install docker-ce docker-ce-cli containerd.io -y
5559
5660 - name : Build docker images
57- run : docker- compose -f test-docker-compose.yaml build --no-cache
61+ run : docker compose -f test-docker-compose.yaml build --no-cache
5862
5963 - name : Run pycodestyle
6064 run : |
6165 pycodestyle api/*.py
6266
6367 - name : Run API containers
6468 run : |
65- docker- compose -f test-docker-compose.yaml up -d test
69+ docker compose -f test-docker-compose.yaml up -d test
6670
6771 - name : Run pylint
6872 run : |
69- docker- compose -f test-docker-compose.yaml exec -T test pylint --extension-pkg-whitelist=pydantic api/
70- docker- compose -f test-docker-compose.yaml exec -T test pylint tests/unit_tests
71- docker- compose -f test-docker-compose.yaml exec -T test pylint tests/e2e_tests
73+ docker compose -f test-docker-compose.yaml exec -T test pylint --extension-pkg-whitelist=pydantic api/
74+ docker compose -f test-docker-compose.yaml exec -T test pylint tests/unit_tests
75+ docker compose -f test-docker-compose.yaml exec -T test pylint tests/e2e_tests
7276
7377 - name : Stop docker containers
7478 if : always()
7579 run : |
76- docker- compose -f test-docker-compose.yaml down
80+ docker compose -f test-docker-compose.yaml down
7781
7882 lint :
7983 runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments