Skip to content

Change testing

Change testing #6

name: acapy-bdd-interop-tests
on:
pull_request:
branches:
- main
types: [opened, synchronize, reopened, ready_for_review]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
test:
runs-on: ubuntu-latest
if: (github.event_name == 'pull_request' && github.event.pull_request.draft == false && github.repository == 'jamshale/aries-cloudagent-python') || (github.event_name != 'pull_request')
outputs:
is_release: ${{ steps.check_if_release.outputs.is_release }}
steps:
- name: checkout-acapy
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Request GitHub API for PR data
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: octokit/[email protected]
id: get_pr_data
with:

Check failure on line 33 in .github/workflows/bdd-interop-tests.yml

View workflow run for this annotation

GitHub Actions / acapy-bdd-interop-tests

Invalid workflow file

The workflow is not valid. .github/workflows/bdd-interop-tests.yml (Line: 33, Col: 9): 'with' is already defined
route: GET /repos/${{ github.event.repository.full_name }}/pulls/${{ github.event.number }}
- name: Run BDD Interop Tests
run: |
# Get AATH
git clone https://github.com/hyperledger/aries-agent-test-harness.git
echo "PR data: ${{ steps.get_pr_data.outputs.data }}"
echo ${{ fromJson(steps.get_pr_data.outputs.data).head.repo.html_url }}
ls -a
# sed -i "s/@git+https://github.com/jamshale/aries-cloudagent-python@main/${{ fromJson(steps.get_pr_data.outputs.data).head.repo.html_url }}@/g"
# cd aries-agent-test-harness
# ./manage build -a acapy
# ./manage run -d acapy -t @AcceptanceTest -t ~@wip -t ~@T004-RFC0211 -t ~@DidMethod_orb -t ~@Transport_NoHttpOutbound