-
Notifications
You must be signed in to change notification settings - Fork 0
feat(tests): add Localstack testing workflow #41
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
base: main
Are you sure you want to change the base?
Conversation
sudo apt-get update | ||
sudo apt-get install -y xxd | ||
npm install -g . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the goal of those lines ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah but it's not always needed if you check dataprotector-sdk for instance
https://github.com/iExecBlockchainComputing/dataprotector-sdk/blob/develop/packages/sdk/.drone.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If is in var it's good for you ?
- name: SonarScanner | ||
uses: SonarSource/[email protected] | ||
env: | ||
SONAR_TOKEN: ${{ inputs.sonar-token }} | ||
SONAR_HOST_URL: ${{ inputs.sonar-host-url }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain what SonarScanner is ? What it do ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code quality tool related to iExec SDK too:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Le-Caignec Good for the explain ?
could you add optionnal step |
f8c881e
to
fa2244b
Compare
… type for check types
This pull request introduces a new GitHub Actions workflow for running Localstack tests and adds a corresponding README file. The workflow is designed to streamline testing, linting, and code quality checks, including integration with SonarQube/SonarCloud for static analysis.
Additions to CI/CD workflows:
.github/workflows/localstack-tests.yml
: Added a new reusable workflow named "Localstack Tests" that includes steps for setting up the environment, running tests, linting, checking code formatting, and performing static analysis with SonarQube/SonarCloud. It accepts inputs such as API keys, project IDs, and Node.js version.Documentation:
localstack-tests/README.md
: Added a placeholder README file for the Localstack Tests workflow.