fix(deps): update dependency Modelica Standard Library to 4.1 #30
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: Run tests | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| branches: | |
| - "main" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.9] | |
| steps: | |
| # Checkout the latest code from the repo | |
| - name: Checkout repo | |
| uses: actions/checkout@v2 | |
| # Setup which version of Python to use | |
| - name: Set Up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r tests/requirements.txt | |
| - name: Add custom function directory to PYTHONPATH | |
| run: echo "PYTHONPATH=$PWD/Resources/CustomFunctions" >> $GITHUB_ENV | |
| - name: Run tests | |
| run: | | |
| pytest tests/test* |