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:
1010 runs-on : ubuntu-latest
1111 env :
1212 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
13+
14+ # Steps represent a sequence of tasks that will be executed as part of the job
1315 steps :
16+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
1417 - uses : actions/checkout@v2
1518 with :
1619 # Disabling shallow clone is recommended for improving relevancy of reporting
1720 fetch-depth : 0
18-
1921 - uses : actions/setup-python@v5
2022 with :
21- python-version : " 3.12 "
23+ python-version : " 3.11 "
2224 - name : Install deps
2325 run : |
2426 sudo apt update
2527 sudo apt install -y pipx git
2628 pipx ensurepath
2729 pipx install poetry
30+
2831 - name : Test coverage for Gateway API
2932 run : |
3033 export PATH=/root/.local/bin:$PATH
3134 cd microservices/gatewayApi
32- poetry install --no-root
35+ poetry env use 3.11
36+ poetry install --no-root --no-cache
3337 ENV=test GITHASH=11223344 \
3438 poetry run coverage run --branch -m pytest -s -v
3539 poetry run coverage xml
You can’t perform that action at this time.
0 commit comments