1.9.0 upgrade fixes (#87) #440
Workflow file for this run
This file contains hidden or 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: systemtests | |
| on: | |
| push: | |
| paths-ignore: | |
| - '**.md' | |
| - 'docs/**' | |
| - '.gitignore' | |
| jobs: | |
| system-tests: | |
| name: system | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/[email protected] | |
| with: | |
| fetch-depth: 0 | |
| - name: Configure Git Safe Directory | |
| run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| - name: Set up Go | |
| uses: ./.github/actions/setup-go | |
| - name: Install Specific Ignite CLI Version | |
| run: | | |
| IGNITE_VERSION="v29.2.0" | |
| ARCH="linux_amd64" | |
| curl -L "https://github.com/ignite/cli/releases/download/${IGNITE_VERSION}/ignite_${IGNITE_VERSION#v}_checksums.txt" -o checksums.txt | |
| EXPECTED_CHECKSUM=$(grep "ignite_${IGNITE_VERSION#v}_${ARCH}.tar.gz" checksums.txt | awk '{print $1}') | |
| curl -L "https://github.com/ignite/cli/releases/download/${IGNITE_VERSION}/ignite_${IGNITE_VERSION#v}_${ARCH}.tar.gz" -o ignite.tar.gz | |
| ACTUAL_CHECKSUM=$(sha256sum ignite.tar.gz | awk '{print $1}') | |
| if [ "$ACTUAL_CHECKSUM" != "$EXPECTED_CHECKSUM" ]; then | |
| echo "Error: Checksum mismatch!" | |
| exit 1 | |
| fi | |
| tar -xzf ignite.tar.gz | |
| chmod +x ignite | |
| # Ignite CLI is now available at ./ignite | |
| - name: Build Chain | |
| run: | | |
| ./ignite chain build -y -t linux:amd64 | |
| env: | |
| DO_NOT_TRACK: 1 | |
| GOFLAGS: "-buildvcs=false" | |
| - name: Prepare System Tests | |
| run: go mod tidy | |
| working-directory: tests/systemtests | |
| - name: Run System Tests | |
| run: go test -tags=system_test -timeout 20m -v . | |
| working-directory: tests/systemtests |