Fix Model_01 serialization error and wealthier key mapping #38
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
| name: Pull Request Checks | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| pr-checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 # This will fetch all history for all branches and tags | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.x' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pydocstyle | |
| - name: Check docstrings | |
| run: | | |
| pydocstyle src/zensvi | |
| - name: Check file changes in tests/ | |
| run: | | |
| # Checks for any upload in tests/ | |
| CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRT origin/${{ github.base_ref }} HEAD -- tests/) | |
| if [ -n "$CHANGED_FILES" ]; then | |
| echo "Files changed in tests/:" | |
| echo "$CHANGED_FILES" | |
| echo "Check passed: Files were modified in tests/." | |
| else | |
| echo "No files were changed in tests/." | |
| exit 1 | |
| fi |