feat(e2e-tests): assert state sync after invite-join #252
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 Install Script | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test-install: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
arch: [x86_64, aarch64] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
# Determine Branch Name | |
- name: Set Branch Name | |
id: branch-name | |
run: | | |
if [[ "${{ github.event_name }}" == "pull_request" ]]; then | |
echo "BRANCH_NAME=${{ github.head_ref }}" >> $GITHUB_ENV | |
else | |
echo "BRANCH_NAME=${{ github.ref_name }}" >> $GITHUB_ENV | |
fi | |
# Run the merod script | |
- name: Test installation script | |
run: | | |
curl -s https://raw.githubusercontent.com/calimero-network/core/${{ env.BRANCH_NAME }}/scripts/install-merod.sh | bash | |
# Validate the binary installation | |
- name: Validate merod installation | |
run: | | |
which merod | |
merod --version | |
# Run the meroctl script | |
- name: Test installation script | |
run: | | |
curl -s https://raw.githubusercontent.com/calimero-network/core/${{ env.BRANCH_NAME }}/scripts/install-meroctl.sh | bash | |
# Validate the binary installation | |
- name: Validate meroctl installation | |
run: | | |
which meroctl | |
meroctl --version |