Skip to content

Commit 6a39b2f

Browse files
committed
fix master ghaction
1 parent 4890602 commit 6a39b2f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/master.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)