fabric-samples/.github/workflows/test-fsat-appdev.yaml
Josh Kneubuhl 34734cfff2 Add FSAT appdev E2E test
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
2022-11-11 13:18:29 -05:00

53 lines
1.7 KiB
YAML

name: Full Stack AppDev E2E Test
run-name: ${{ github.actor }} is running the FSAT E2E Test 🚀
on:
workflow_dispatch:
pull_request:
branches:
- "main"
paths:
- "full-stack-asset-transfer-guide/**"
jobs:
test-fsat-appdev:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: checkout
uses: actions/checkout@v3
- name: k9s
env:
K9S_VERSION: v0.25.3
run: |
curl --fail --silent --show-error -L https://github.com/derailed/k9s/releases/download/${K9S_VERSION}/k9s_Linux_x86_64.tar.gz -o /tmp/k9s_Linux_x86_64.tar.gz
tar -zxf /tmp/k9s_Linux_x86_64.tar.gz -C /usr/local/bin k9s
sudo chown root /usr/local/bin/k9s
sudo chmod 755 /usr/local/bin/k9s
- name: just
env:
JUST_VERSION: 1.2.0
run: |
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --tag ${JUST_VERSION} --to /usr/local/bin
- name: weft
run: |
npm install -g @hyperledger-labs/weft
- name: Install fabric CLI
working-directory: full-stack-asset-transfer-guide
run: |
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/main/scripts/install-fabric.sh | bash -s -- binary
echo ${PWD}/bin >> $GITHUB_PATH
- name: just test-appdev
working-directory: full-stack-asset-transfer-guide
run: just test-appdev
- run: echo "🍏 This job's status is ${{ job.status }}."