-
Notifications
You must be signed in to change notification settings - Fork 0
add syntax checks and tests to language workflows #2
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,4 +32,6 @@ jobs: | |
| with: | ||
| python-version-file: 'python/pyproject.toml' | ||
| cache: pip | ||
| - run: pip install . | ||
| - run: pip install ".[dev]" | ||
| - run: python -m py_compile $(find src -name "*.py") | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| - run: python -m pytest tests/test_optimal_portfolio_scenario.py | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,3 +33,5 @@ jobs: | |
| ruby-version: '3.3' | ||
| bundler-cache: true | ||
| working-directory: ruby | ||
| - run: find lib -name "*.rb" | xargs -I{} ruby -c {} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| - run: bundle exec rspec spec/optimal_portfolio_scenario_spec.rb | ||
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.
shellcheck reported issue in this script: SC2038:warning:1:1: Use 'find .. -print0 | xargs -0 ..' or 'find .. -exec .. +' to allow non-alphanumeric filenames [shellcheck]