Merge pull request #15 from NREL/dependabot/npm_and_yarn/entry_guide/… #210
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: Validate Model Attribute Files | |
| on: [push, pull_request] | |
| jobs: | |
| code-qa-validation: | |
| runs-on: "ubuntu-latest" | |
| # strategy: | |
| # fail-fast: False | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| # - name: Install project | |
| # run: | | |
| # python -m pip install --upgrade pip | |
| # pip install -e ".[develop]" | |
| - name: Install dependencies | |
| working-directory: ${{runner.workspace}}/WETOStack/ | |
| run: | | |
| sudo apt-get install graphviz graphviz-dev | |
| pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Run validation script | |
| working-directory: ${{runner.workspace}}/WETOStack/software_attributes/ | |
| run: | | |
| python validate_schema.py |