Skip to content

Commit c08e416

Browse files
committedAug 30, 2024
Merge branch 'main' into feat/pagination-ordering
Signed-off-by: ff137 <[email protected]>
2 parents b96400d + acccfaf commit c08e416

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+3066
-215
lines changed
 

‎.github/workflows/integrationtests.yml renamed to ‎.github/workflows/bdd-integration-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: acapy-integration-tests
1+
name: BDD Integration Tests
22

33
on:
44
schedule:
+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: BDD Interop Integration Tests
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
types: [opened, synchronize, reopened, ready_for_review]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
defaults:
14+
run:
15+
shell: bash
16+
17+
jobs:
18+
test:
19+
runs-on: ubuntu-latest
20+
if: (github.event_name == 'pull_request' && github.event.pull_request.draft == false && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request')
21+
outputs:
22+
is_release: ${{ steps.check_if_release.outputs.is_release }}
23+
steps:
24+
- name: checkout-acapy
25+
uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 0
28+
- name: Request GitHub API for PR data
29+
uses: octokit/request-action@v2.x
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
id: get_pr_data
33+
with:
34+
route: GET /repos/${{ github.event.repository.full_name }}/pulls/${{ github.event.number }}
35+
- name: Run BDD Interop Tests
36+
run: |
37+
# Get AATH
38+
git clone https://github.com/hyperledger/aries-agent-test-harness.git
39+
echo ${{ fromJson(steps.get_pr_data.outputs.data).head.repo.html_url }}
40+
echo ${{ fromJson(steps.get_pr_data.outputs.data).head.ref }}
41+
sed -i 's|@git+https://github.com/hyperledger/aries-cloudagent-python@main|@git+${{ fromJson(steps.get_pr_data.outputs.data).head.repo.html_url }}@${{ fromJson(steps.get_pr_data.outputs.data).head.ref }}|g' ./aries-agent-test-harness/aries-backchannels/acapy/requirements-main.txt
42+
cat aries-agent-test-harness/aries-backchannels/acapy/requirements-main.txt
43+
cd aries-agent-test-harness
44+
./manage build -a acapy-main
45+
NO_TTY=1 LEDGER_URL_CONFIG=http://test.bcovrin.vonx.io TAILS_SERVER_URL_CONFIG=https://tails.vonx.io ./manage run -d acapy-main -t @critical -t ~@wip -t ~@T004-RFC0211 -t ~@DidMethod_orb -t ~@Transport_NoHttpOutbound
46+

0 commit comments

Comments
 (0)