fix: fixed a mapping issue which left the protocolversion at null #1104
Workflow file for this run
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: "integration-test" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
tests: | |
name: "Integration Test" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Set up environment" | |
run: docker compose --env-file .env.IntegrationTest -f docker-integration-test-environment.yaml up --build -d --wait | |
- name: "Wait for node to be populated" | |
run: "sleep 30s" | |
- name: "Install Node" | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '21.x' | |
- name: "Update Genesis block number" | |
run: | | |
source ./.env.IntegrationTest | |
echo "$UPDATE_GENESIS_BLOCK_QUERY" > temp.sql | |
PGPASSWORD=$DB_SECRET psql -h localhost -p 5432 -d $DB_NAME -U $DB_USER -f temp.sql | |
- name: "Install newman" | |
run: npm install -g newman | |
- name: "Install rosetta-cli" | |
run: curl -sSfL https://raw.githubusercontent.com/coinbase/rosetta-cli/master/scripts/install.sh | sh -s | |
- name: "Run tests" | |
run: newman run ./postmanTests/rosetta-java.postman_collection.json -e postmanTests/Rosetta-java-env.postman_environment.json -r cli | |
- name: "Run rosetta check:data tests" | |
run: ./bin/rosetta-cli check:data --configuration-file ./rosetta-cli-tests/data/byron_sample.json | |
- name: "Tear down environment" | |
run: docker compose --env-file .env.IntegrationTest -f docker-integration-test-environment.yaml down |