Skip to content

Move main.go from fxconfig/cmd to fxconfig/ #55

Move main.go from fxconfig/cmd to fxconfig/

Move main.go from fxconfig/cmd to fxconfig/ #55

Workflow file for this run

#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
name: Sample Tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
# Enable manual triggering
workflow_dispatch:
jobs:
test:
name: Token Samples Tests
runs-on: ubuntu-latest
strategy:
matrix:
include:
- platform: "fabricx"
- platform: "fabric3"
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Verify Go installation
run: |
go version
echo "GOPATH: $GOPATH"
echo "GOROOT: $GOROOT"
- name: Set up Python
if: ${{ matrix.platform == 'fabricx' }}
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install Ansible
if: ${{ matrix.platform == 'fabricx' }}
run: |
python -m pip install --upgrade pip
pip install ansible ansible-core
ansible --version
- name: Run samples tests on ${{ matrix.platform }}
env:
PLATFORM: ${{ matrix.platform }}
run: |
cd samples/tokens
make install-prerequisites test