This repository has been archived by the owner on May 28, 2024. It is now read-only.
Merge pull request #515 from findy-network/dynamic-invitation #461
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: interop | |
on: | |
push: | |
branches: | |
- "dev" | |
workflow_dispatch: | |
jobs: | |
iop: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
include: | |
- their_agent: "acapy-main" | |
- their_agent: "javascript" | |
- their_agent: "findy" | |
env: | |
NO_TTY: "1" | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: test findy as Bob with ${{ matrix.their_agent }} | |
# TODO: javascript agent behaving badly, enable when problems fixed | |
if: ${{ matrix.their_agent != 'javascript' }} | |
run: | | |
cd ./scripts/aath | |
make run-check AGENT_DEFAULT=${{ matrix.their_agent }} AGENT_BOB=findy | |
- name: test findy as default agent with ${{ matrix.their_agent }} | |
# TODO: javascript agent behaving badly, enable when problems fixed | |
if: ${{ matrix.their_agent != 'javascript' }} | |
run: | | |
cd ./scripts/aath | |
make test-check AGENT_DEFAULT=findy AGENT_BOB=${{ matrix.their_agent }} | |
- name: test findy as default agent with ${{ matrix.their_agent }} | |
# TODO: javascript agent behaving badly, remove when problems fixed | |
if: ${{ matrix.their_agent == 'javascript' }} | |
run: | | |
cd ./scripts/aath | |
make run-check AGENT_DEFAULT=findy AGENT_BOB=${{ matrix.their_agent }} | |
- name: store agency logs | |
if: ${{ failure() }} | |
run: | | |
docker logs docker_core_1 > scripts/aath/.logs/docker_core_1-$(date +%s).log 2>&1 & | |
- name: archive logs | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: iop-logs | |
path: scripts/aath/.logs | |
- uses: 8398a7/action-slack@v3 | |
if: ${{ failure() }} | |
with: | |
status: ${{ job.status }} | |
fields: repo,action,eventName,ref,workflow | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |