Skip to content
Snippets Groups Projects
  1. Apr 12, 2024
  2. Mar 05, 2024
    • Florian Schröder's avatar
      Add docstrings and minor adjustments to cooperative_cuisine · 5a9b4874
      Florian Schröder authored
      This commit adds detailed docstrings for various methods and classes in the 'cooperative_cuisine' module for enhanced code understanding. Also includes minor changes to the .gitlab-ci.yml and pygame_2d_vis/__init__.py files and adds an image in the docs markdown file. Code readability and maintainability improved with these changes.
      5a9b4874
    • Florian Schröder's avatar
      Update .gitignore, .gitlab-ci.yml, player.py · a96a9cbb
      Florian Schröder authored
      Added 'generated' to .gitignore, updated pdoc footer text in .gitlab-ci.yml, and included interaction state for player in player.py. The player interaction with the counter is now being tracked and a new comment was added for the progress method. This will enhance player's tracking and usage in the game environment.
      a96a9cbb
    • Florian Schröder's avatar
      Update CI script and game configurations · f536d40e
      Florian Schröder authored
      Changed the pdoc execution command in the .gitlab-ci.yml to fix the link in the footer text. Adjustments were also made to the layout of the game in the basic.layout and __init__.py files, along with the game, player, and effect configurations. The player speed was reduced, the ability to undo dispenser pickup was added, and the effect
      f536d40e
    • Florian Schröder's avatar
      Update documentation and improve changelog · eb4ae7eb
      Florian Schröder authored
      The provided modifications involve an update to the .gitlab-ci.yml file to include a footer text in the project documentation. There's also an additional point added to the CHANGELOG.md file under the 'study participants' section for clarity. Furthermore, the README.md has been slightly restructured to explicitly mention the availability of extensive project details in the documentation.
      eb4ae7eb
    • Florian Schröder's avatar
      Update .gitlab-ci.yml and expand CHANGELOG.md · 593f63c1
      Florian Schröder authored
      Updated the pdoc command in .gitlab-ci.yml file to correct the hyphen usage in the "footer_text" flag. The CHANGELOG.md is significantly expanded to provide a more detailed and organized account of changes with version releases, following the guidelines from keepachangelog.com.
      593f63c1
    • Florian Schröder's avatar
      Update CI config and improve code readability · 09a0bc5c
      Florian Schröder authored
      The CI configuration file and several Python scripts were updated for better adherence to best practices. The CI now includes a footer in the pdoc document generation step. Moreover, variable names and import paths were updated to be more explicit and clear. Some paths in the scripts were also generalized. In addition, the json.dumps function was used to print the create_json_schema function's output in a prettier format. Lastly, minor modifications were made to the README and comments for better clarity and understanding.
      09a0bc5c
    • Florian Schröder's avatar
      Add favicon to pdoc command in GitLab CI configuration · 76a69a2a
      Florian Schröder authored
      Added a favicon parameter to the pdoc command in the .gitlab-ci.yml file. This results in the favicon being specified during the documentation generation process. This change should improve the importance of the favicon when the documentation is viewed in a browser tab.
      76a69a2a
  3. Feb 29, 2024
    • Florian Schröder's avatar
      Update test suite and add coverage configuration · 2aca985b
      Florian Schröder authored
      Extended the test suite by adding new test cases and a new test file for dispensers and serving windows. The CI/CD pipeline was updated to include a coverage configuration file (.coveragerc), ensuring lines not relevant to coverage are excluded. Additionally, minor changes were made to the basic.layout file.
      2aca985b
    • Florian Schröder's avatar
      Update pytest command in GitLab CI configuration · ec78240d
      Florian Schröder authored
      The pytest command in `.gitlab-ci.yml` file has been updated to include also `term-missing` coverage report and junit report. This configuration outputs which lines were not hit by testing and produces the report in xml format suitable for integration with CI systems.
      ec78240d
    • Florian Schröder's avatar
      Update coverage pattern in .gitlab-ci.yml · dba65271
      Florian Schröder authored
      The commit modifies the regular expression used for coverage reporting in .gitlab-ci.yml. The change ensures correct mapping and accurate percentage capture by controlling the starting point of the coverage line match.
      dba65271
    • Florian Schröder's avatar
      Update regex for coverage report in GitLab CI · ebda2328
      Florian Schröder authored
      The regular expression used to extract the coverage percentage from the coverage report was updated. Due to modified output format of pytest, the regex pattern was not working correctly. It has been changed to ensure accurate extraction.
      ebda2328
    • Florian Schröder's avatar
      Fix regex pattern in .gitlab-ci.yml · 6081f743
      Florian Schröder authored
      The regular expression pattern for the coverage line in the .gitlab-ci.yml file was not properly formatted. It was causing issues in the CI pipeline as it couldn't correctly parse the coverage percentage. This commit wraps the expression in single quotes to correct this issue.
      6081f743
    • Florian Schröder's avatar
      Update coverage pattern in .gitlab-ci.yml file · 093a9b76
      Florian Schröder authored
      The coverage pattern has been updated in the .gitlab-ci.yml file. The change made was to remove the special wildcard characters from the start of the regex pattern. This modification improves pattern recognition for the coverage report.
      093a9b76
    • Florian Schröder's avatar
      .pytest configuration and fix README typo · 6ba547f2
      Florian Schröder authored
      The .gitlab-ci.yml file was updated to change the coverage regex and remove the specific branches that the pytest stage runs on. In the README file, a typo in the coverage badge URL was corrected.
      6ba547f2
    • Florian Schröder's avatar
      Update .gitlab-ci.yml and README.md · 644927ae
      Florian Schröder authored
      The .gitlab-ci.yml file is modified to limit pytest to only 'main' and '65-more-test-coverage' branches. In the README.md, the pipeline and coverage badge URLs have been updated to dynamically reflect the current branch.
      644927ae
    • Florian Schröder's avatar
      Update coverage report path in CI configuration · 153b764d
      Florian Schröder authored
      In the file .gitlab-ci.yml, the path to the coverage report file has been updated. It has been changed from `cooperative_cuisine/coverage.xml` to `coverage.xml`, adjusting the directory where the report file is located.
      153b764d
    • Florian Schröder's avatar
      Refactor pip installation commands in GitLab CI · 50d94284
      Florian Schröder authored
      The two pip installation commands in the .gitlab-ci.yml script have been combined into a single command. This change simplifies the script and ensures all necessary packages, including pytest, are installed correctly for the test environment.
      50d94284
    • Florian Schröder's avatar
      Update coverage path and badge URLs · 3c4a4349
      Florian Schröder authored
      The coverage path in .gitlab-ci.yml has been updated to point to the correct directory within the project structure. Additionally, the badge URLs in the README.md file have been corrected to display the proper pipeline and coverage status for this project.
      3c4a4349
    • Florian Schröder's avatar
      Update pytest command in GitLab CI configuration · 0e7746e9
      Florian Schröder authored
      The pytest command in the .gitlab-ci.yml file has been updated to remove redundant output. Previously, the command specified both `term` and `xml:coverage.xml` for `--cov-report`, but now it only includes `xml:coverage.xml` to simplify the report generation.
      0e7746e9
    • Florian Schröder's avatar
      Update pytest and coverage commands in GitLab CI · 4920a85a
      Florian Schröder authored
      The pytest command in the GitLab CI configuration has been updated to also generate a coverage report. Additionally, the coverage reporting syntax has been altered to specifically target the Cobertura coverage format and specify the path for the coverage.xml file.
      4920a85a
    • Florian Schröder's avatar
      Update GitLab CI configuration and README · 5bf35d63
      Florian Schröder authored
      Removed the coverage line from the .gitlab-ci.yml file. Also, badges for the pipeline status and coverage were added to the README file. The changes improve the information available at a glance on the project's README.
      5bf35d63
    • Florian Schröder's avatar
      Update testing procedures and dependencies · 2eafc355
      Florian Schröder authored
      Changed the testing script in .gitlab-ci.yml to use Pytest's coverage feature instead of the standalone Coverage tool. Also, updated the test_requirements in setup.py to include pytest-cov, eliminating the need for separate coverage version.
      2eafc355
    • Florian Schröder's avatar
      Implement coverage measurement for tests · 035b2a6d
      Florian Schröder authored
      The pytest command in .gitlab-ci.yml has been updated to include code coverage measurements. The "coverage" Python package was added in setup.py under test requirements. Also, small updates were made in tests to reflect changes in the module imports and object comparisons.
      035b2a6d
  4. Feb 28, 2024
  5. Feb 26, 2024
  6. Feb 23, 2024
  7. Jan 19, 2024
  8. Nov 23, 2023
Loading