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

Simplify chain tests commands #1931

Merged
merged 1 commit into from
Feb 18, 2025
Merged

Simplify chain tests commands #1931

merged 1 commit into from
Feb 18, 2025

Conversation

manuelwedler
Copy link
Contributor

@manuelwedler manuelwedler commented Feb 17, 2025

the chain tests were run twice in the CI because we had an unnecessary command in the monorepo package.json.

This should also fix the git submodule error we saw.

the chain tests were run twice because we had an unnecessary command in the monorepo package.json
@@ -82,7 +82,7 @@ jobs:
fi
- run:
name: install build and test
command: npm install && npx lerna run build --scope=sourcify-server && cd services/server && npm run postgres-test:migrate && npm run test:chains
command: npm install && npx lerna run build --scope=sourcify-server && cd services/server && npm run test:chains
Copy link
Member

Choose a reason for hiding this comment

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

how can it run without running postgres-test:migrate?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

test:chains already runs postgres-test:migrate. It was just duplicated here and run twice before

Copy link
Member

Choose a reason for hiding this comment

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

Ah ok

@manuelwedler manuelwedler merged commit 2a9af80 into staging Feb 18, 2025
6 checks passed
@manuelwedler manuelwedler deleted the fix-chain-tests branch February 18, 2025 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: COMPLETED
Development

Successfully merging this pull request may close these issues.

2 participants