Skip to content

Commit

Permalink
update payment yaml
Browse files Browse the repository at this point in the history
Signed-off-by: bvolovat <[email protected]>
  • Loading branch information
bvolovat committed Mar 5, 2024
1 parent 15ad3de commit 66b0750
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions .github/workflows/payment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
echo "# ------------------------------------------------ #"
echo "matrix=$ACCOUNT_IDS" >> $GITHUB_OUTPUT
setup_clusters:
run_tests:
needs: setup_matrix
runs-on: ubuntu-latest
strategy:
Expand All @@ -62,6 +62,7 @@ jobs:
cluster_name: ${{ steps.uuid.outputs.RANDOM_UUID }}
- name: Checkout repo
uses: actions/checkout@v3

- name: Set up Python environment
uses: actions/setup-python@v4
timeout-minutes: 10
Expand All @@ -71,23 +72,10 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
run_script:
needs: setup_matrix
runs-on: ubuntu-latest
strategy:
matrix:
account: ${{fromJson(needs.setup_matrix.outputs.matrix)}}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Run script for each account ID
run: |
echo "Running script for account ID: ${{ matrix.account }}"
python payment.py --account-id ${{ matrix.account }}
- name: Run test for each account ID
run: |
echo "Running script for account ID: ${{ matrix.account }}"
python payment.py --account-id ${{ matrix.account }}

0 comments on commit 66b0750

Please sign in to comment.