File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -10,26 +10,30 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
env :
12
12
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
13
+
14
+ # Steps represent a sequence of tasks that will be executed as part of the job
13
15
steps :
16
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
14
17
- uses : actions/checkout@v2
15
18
with :
16
19
# Disabling shallow clone is recommended for improving relevancy of reporting
17
20
fetch-depth : 0
18
-
19
21
- uses : actions/setup-python@v5
20
22
with :
21
- python-version : " 3.12 "
23
+ python-version : " 3.11 "
22
24
- name : Install deps
23
25
run : |
24
26
sudo apt update
25
27
sudo apt install -y pipx git
26
28
pipx ensurepath
27
29
pipx install poetry
30
+
28
31
- name : Test coverage for Gateway API
29
32
run : |
30
33
export PATH=/root/.local/bin:$PATH
31
34
cd microservices/gatewayApi
32
- poetry install --no-root
35
+ poetry env use 3.11
36
+ poetry install --no-root --no-cache
33
37
ENV=test GITHASH=11223344 \
34
38
poetry run coverage run --branch -m pytest -s -v
35
39
poetry run coverage xml
You can’t perform that action at this time.
0 commit comments