diff --git a/.github/workflows/enable-gha.yaml b/.github/workflows/enable-gha.yaml deleted file mode 100644 index bea0d052..00000000 --- a/.github/workflows/enable-gha.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: Enable GitHub Actions -run-name: ${{ github.actor }} is activating GitHub Actions on a PR to the main branch 🚀 - -on: - pull_request: - branches: ["main"] - workflow_dispatch: - -jobs: - Explore-GitHub-Actions: - 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: Check out repository code - uses: actions/checkout@v3 - - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ github.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." - diff --git a/full-stack-asset-transfer-guide/.github/workflows/test-appdev.yaml b/.github/workflows/test-fsat-appdev.yaml similarity index 55% rename from full-stack-asset-transfer-guide/.github/workflows/test-appdev.yaml rename to .github/workflows/test-fsat-appdev.yaml index d0c08e7d..88d225bb 100644 --- a/full-stack-asset-transfer-guide/.github/workflows/test-appdev.yaml +++ b/.github/workflows/test-fsat-appdev.yaml @@ -1,15 +1,23 @@ -name: test-appdev +name: Full Stack AppDev E2E Test +run-name: ${{ github.actor }} is running the FSAT E2E Test 🚀 on: + workflow_dispatch: pull_request: branches: - - main + - "main" + paths: + - "full-stack-asset-transfer-guide/**" jobs: - test-appdev: + 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 @@ -32,18 +40,14 @@ jobs: run: | npm install -g @hyperledger-labs/weft - - name: fabric + - 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 - - - name: check prereqs - run: | - export WORKSHOP_PATH="${PWD}" - export PATH="${WORKSHOP_PATH}/bin:${PATH}" - export FABRIC_CFG_PATH="${WORKSHOP_PATH}/config" - - ./check.sh + echo ${PWD}/bin >> $GITHUB_PATH - name: just test-appdev - run: | - just test-appdev \ No newline at end of file + working-directory: full-stack-asset-transfer-guide + run: just test-appdev + + - run: echo "🍏 This job's status is ${{ job.status }}." diff --git a/full-stack-asset-transfer-guide/README.md b/full-stack-asset-transfer-guide/README.md index b9e4e04a..dd900ad2 100644 --- a/full-stack-asset-transfer-guide/README.md +++ b/full-stack-asset-transfer-guide/README.md @@ -106,3 +106,4 @@ We'll create a digital representation of these cards on the blockchain ledger. T - [Go Bananas](docs/CloudReady/40-bananas.md) - [Bring it Home](docs/CloudReady/90-teardown.md) +