Skip to content

Commit 481ce89

Browse files
Changing workflow & simplify requirements.txt
1 parent 42011e1 commit 481ce89

2 files changed

Lines changed: 11 additions & 22 deletions

File tree

.github/workflows/consumer_test.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,14 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14-
name: Run Consumer Tests
15-
on:
16-
pull_request:
17-
types: [opened, reopened, synchronize]
14+
name: Run Consumer Tests on Comment
15+
on: issue_comment
16+
1817
jobs:
19-
code:
18+
consumer_test:
19+
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/consumer-test') }}
2020
runs-on: ubuntu-latest
2121
steps:
22-
- name: Approving Workflow
23-
- uses: pavlospt/manual-approval@v2
24-
with:
25-
secret: ${{ github.TOKEN }}
26-
approvers: MaximilianSoerenPollak, AlexanderLanin, dcalavrezo-qorix
27-
minimum-approvals: 1
28-
issue-title: "Consumer Tests for Docs-As-Code."
29-
issue-body: "Please approve or deny the running of the consumer tests."
30-
exclude-workflow-initiator-as-approver: false
31-
additional-approved-words: ''
32-
additional-denied-words: ''
3322
- name: Checkout repository
3423
uses: actions/checkout@v4.2.2
3524

src/requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ babel==2.17.0 \
3737
basedpyright==1.29.2 \
3838
--hash=sha256:12c49186003b9f69a028615da883ef97035ea2119a9e3f93a00091b3a27088a6 \
3939
--hash=sha256:f389e2997de33d038c5065fd85bff351fbdc62fa6d6371c7b947fc3bce8d437d
40-
# via -r /home/maxi/.cache/bazel/_bazel_maxi/ab369aed19d11684dc4cf0e77c3e9b1c/external/score_python_basics~/requirements.txt
40+
# via -r external/score_python_basics~/requirements.txt
4141
beautifulsoup4==4.13.4 \
4242
--hash=sha256:9bbbb14bfde9d79f38b8cd5f8c7c85f4b8f2523190ebed90e950a8dea4cb1c4b \
4343
--hash=sha256:dbb3c4e1ceae6aefebdaf2423247260cd062430a410e38c66f2baa50a8437195
@@ -438,7 +438,7 @@ iniconfig==2.1.0 \
438438
--hash=sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7 \
439439
--hash=sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760
440440
# via
441-
# -r /home/maxi/.cache/bazel/_bazel_maxi/ab369aed19d11684dc4cf0e77c3e9b1c/external/score_python_basics~/requirements.txt
441+
# -r external/score_python_basics~/requirements.txt
442442
# pytest
443443
jinja2==3.1.6 \
444444
--hash=sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d \
@@ -669,7 +669,7 @@ nodejs-wheel-binaries==22.16.0 \
669669
--hash=sha256:d695832f026df3a0cf9a089d222225939de9d1b67f8f0a353b79f015aabbe7e2 \
670670
--hash=sha256:dbfccbcd558d2f142ccf66d8c3a098022bf4436db9525b5b8d32169ce185d99e
671671
# via
672-
# -r /home/maxi/.cache/bazel/_bazel_maxi/ab369aed19d11684dc4cf0e77c3e9b1c/external/score_python_basics~/requirements.txt
672+
# -r external/score_python_basics~/requirements.txt
673673
# basedpyright
674674
numpy==2.2.5 \
675675
--hash=sha256:0255732338c4fdd00996c0421884ea8a3651eea555c3a56b84892b66f696eb70 \
@@ -734,7 +734,7 @@ packaging==25.0 \
734734
--hash=sha256:29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484 \
735735
--hash=sha256:d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f
736736
# via
737-
# -r /home/maxi/.cache/bazel/_bazel_maxi/ab369aed19d11684dc4cf0e77c3e9b1c/external/score_python_basics~/requirements.txt
737+
# -r external/score_python_basics~/requirements.txt
738738
# matplotlib
739739
# pytest
740740
# sphinx
@@ -829,7 +829,7 @@ pluggy==1.6.0 \
829829
--hash=sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3 \
830830
--hash=sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746
831831
# via
832-
# -r /home/maxi/.cache/bazel/_bazel_maxi/ab369aed19d11684dc4cf0e77c3e9b1c/external/score_python_basics~/requirements.txt
832+
# -r external/score_python_basics~/requirements.txt
833833
# pytest
834834
pycparser==2.22 \
835835
--hash=sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6 \
@@ -882,7 +882,7 @@ pyspellchecker==0.8.2 \
882882
pytest==8.3.5 \
883883
--hash=sha256:c69214aa47deac29fad6c2a4f590b9c4a9fdb16a403176fe154b79c0b4d4d820 \
884884
--hash=sha256:f4efe70cc14e511565ac476b57c279e12a855b11f48f212af1080ef2263d3845
885-
# via -r /home/maxi/.cache/bazel/_bazel_maxi/ab369aed19d11684dc4cf0e77c3e9b1c/external/score_python_basics~/requirements.txt
885+
# via -r external/score_python_basics~/requirements.txt
886886
python-dateutil==2.9.0.post0 \
887887
--hash=sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3 \
888888
--hash=sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427

0 commit comments

Comments
 (0)