Add support for object.name attribute + Color Group in 3MF Materials Extension + Bambu Studio/3MF Production Extension component path #138
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
| # Blender add-on to import and export 3MF files. | |
| # Copyright (C) 2020 Ghostkeeper | |
| # This add-on is free software; you can redistribute it and/or modify it under the terms of the GNU General Public | |
| # License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later | |
| # version. | |
| # This add-on is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied | |
| # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | |
| # You should have received a copy of the GNU General Public License along with this program; if not, write to the Free | |
| # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
| # Github action that performs the automated tests on every change and pull request using Python's Unittest module. | |
| name: Automated Tests | |
| on: [push, pull_request] | |
| jobs: | |
| test: # Performs the Unittest tests. | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: python3 -m pip install mathutils pycodestyle | |
| - name: Test | |
| run: python3 -m unittest test | |
| - name: Code style | |
| run: python3 -m pycodestyle --ignore=E402 --max-line-length=120 . |