-
Notifications
You must be signed in to change notification settings - Fork 4
Add CI/CD checks and CONTRIBUTING.md #39
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
Merged
JFoederer
merged 19 commits into
JFoederer:main
from
MASTERS-Y2Q1-ISEP:cicd/autopep8-JFoedererPR
Dec 18, 2025
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
0bc16da
added cicd
osingaatje a1db9d5
added error propagation to run_tests.py
osingaatje 5dde33c
removed commented out comment in run-tests.yml CI/CD, fixed 'pip
osingaatje 926a834
apply pep8 Python formatting at max 120 char/line
JFoederer 27b559b
added cicd
osingaatje 3dee6df
added error propagation to run_tests.py
osingaatje ee3e03f
removed commented out comment in run-tests.yml CI/CD, fixed 'pip
osingaatje 57e8d29
format with autopep8 (default line length)
osingaatje 64f5d95
Merge branch 'cicd/autopep8-JFoedererPR' of https://github.com/MASTER…
JFoederer 212345c
reformat with new max line length setting
JFoederer 3c05f68
Use consistent casing in naming RobotMBT
JFoederer a79fe34
Add contribution guidelines
JFoederer 04011bb
add workflow to check demo
JFoederer ad79db5
added exit code propagation to demo
osingaatje 084b772
install local requirements.txt for demo
JFoederer 177468a
refactor comments and yaml syntax
osingaatje b680d92
adjusted contributing (style, formatting, sentence structure
osingaatje fa71a6d
Text clarifications CONTRIBUTING.md
JFoederer 5f67137
fix md linting issues
JFoederer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| name: autopep8 Check | ||
|
|
||
| on: [pull_request] | ||
|
|
||
| jobs: | ||
| autopep8-check: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.10" | ||
|
|
||
| - name: Install autopep8 | ||
| run: pip install autopep8 | ||
|
|
||
| - name: Check formatting with autopep8 | ||
| id: check | ||
| run: | | ||
| # Check if autopep8 would make changes | ||
| formatting_issues=$(autopep8 --diff --recursive .) | ||
| if [[ formatting_issues ]] then | ||
| echo "Formatting issues found:" | ||
| printf "%s\n" "$formatting_issues" | ||
| echo "------------------------------" | ||
| echo "-- Formatting issues found! --" | ||
| echo "------------------------------" | ||
| exit 1 | ||
| else | ||
| echo "No formatting issues found." | ||
| fi | ||
|
|
||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # This workflow will install Python dependencies, run tests and lint with a single version of Python | ||
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | ||
|
|
||
| name: Run Acceptance and Unit tests | ||
|
osingaatje marked this conversation as resolved.
|
||
|
|
||
| on: | ||
| # push: | ||
| # branches: [ "main" ] | ||
| pull_request: | ||
| branches: [ "main" ] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| build: | ||
|
|
||
| runs-on: ubuntu-latest | ||
|
JFoederer marked this conversation as resolved.
|
||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v3 | ||
| with: | ||
| python-version: "3.10" | ||
|
JFoederer marked this conversation as resolved.
Outdated
|
||
| - name: Install dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip # upgrade pip to latest version | ||
| pip install ".[visualization]" # install PyProject.toml dependencies (including optional dependencies) | ||
|
osingaatje marked this conversation as resolved.
Outdated
|
||
| - name: Test with pytest | ||
| run: | | ||
| python run_tests.py | ||
|
osingaatje marked this conversation as resolved.
|
||
| #pytest # test unit tests only | ||
|
osingaatje marked this conversation as resolved.
Outdated
|
||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.