This repository has been archived by the owner on May 17, 2024. It is now read-only.
Merge pull request #316 from findy-network/lauravuo-patch-1 #1143
Workflow file for this run
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: test | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: setup go, lint and scan | |
uses: findy-network/setup-go-action@master | |
with: | |
linter-config-path: .golangci.yml | |
- name: test | |
run: go test ./... | |
test-aip10: | |
runs-on: ubuntu-latest | |
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 Acme with ${{ matrix.their_agent }} | |
run: | | |
cd ./env | |
make aath-up-check \ | |
AGENT_DEFAULT=findy \ | |
AGENT_BOB=${{ matrix.their_agent }} \ | |
INCLUDE_TAGS='@T001-RFC0160,@T001-RFC0036,@T001-RFC0037' | |
- name: test findy as Bob with ${{ matrix.their_agent }} | |
# TODO: figure out why javascript agent fails | |
if: ${{ matrix.their_agent != 'javascript' }} | |
run: | | |
cd ./env | |
make aath-test-check \ | |
AGENT_DEFAULT=${{ matrix.their_agent }} \ | |
AGENT_BOB=findy \ | |
INCLUDE_TAGS='@T001-RFC0160,@T001-RFC0036,@T001-RFC0037' | |
- name: Collect docker logs | |
if: ${{ failure() }} | |
uses: jwalton/gh-docker-logs@v2 | |
with: | |
dest: "./tests_output/docker-logs" | |
- name: archive logs | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: iop-aip10-logs | |
path: tests_output | |
# TODO: | |
# test-aip20: | |
# runs-on: ubuntu-latest | |
# 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 AIP2.0 findy as Acme with ${{ matrix.their_agent }} | |
# run: | | |
# cd ./env | |
# make aath-up-check-aip20 \ | |
# AGENT_DEFAULT=findy \ | |
# AGENT_BOB=${{ matrix.their_agent }} | |
# - name: Collect docker logs | |
# if: ${{ failure() }} | |
# uses: jwalton/gh-docker-logs@v2 | |
# with: | |
# dest: "./tests_output/docker-logs" | |
# - name: archive logs | |
# if: ${{ failure() }} | |
# uses: actions/upload-artifact@v4 | |
# with: | |
# name: iop-aip20-logs | |
# path: tests_output |