Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set up CI with linting #28

Merged
merged 16 commits into from
Dec 10, 2024
Merged

set up CI with linting #28

merged 16 commits into from
Dec 10, 2024

Conversation

turadg
Copy link
Member

@turadg turadg commented Dec 10, 2024

closes: #8

This includes a bunch of changes to get CI running on PRs.

Comment on lines +44 to +46
# TODO: https://github.com/Agoric/agoric-subql/issues/8
- name: Enable btree btree_gist
run: psql "postgresql://$DB_USER:$DB_PASS@$DB_HOST:$DB_PORT/$DB_DATABASE" -c "CREATE EXTENSION IF NOT EXISTS btree_gist;"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this used for?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The runtime tests of mapping tests (SubQL needs this extension)

That will take more work but it will depend on these changes so I thought it would be good to land what's known.

Comment on lines -21 to -24
- name: Install subql-node-cosmos
run: yarn global add @subql/node-cosmos
- name: Run tests with Subquery Node
run: subql-node-cosmos test -f ${{ github.workspace }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these not needed anymore?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They never actually worked. The whole workflow was disabled.

#30 will make them work.

@turadg turadg mentioned this pull request Dec 10, 2024
@turadg turadg requested a review from frazarshad December 10, 2024 15:04
@turadg turadg merged commit a76933c into Agoric:main Dec 10, 2024
1 check passed
@turadg turadg deleted the ta/ci branch December 10, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add CI tests for each PR
2 participants