add new model Liu_IFACPapersOnLine2025 #508
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: Python CI | |
| # trigger | |
| on: [push, pull_request] | |
| jobs: | |
| base: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.10'] | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Prepare python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Run tests from editable install | |
| run: | | |
| cd src/python | |
| pip install --upgrade pip | |
| pip install -e . | |
| pip install pytest | |
| pytest test | |
| - name: Run tests from sdist install | |
| run: | | |
| cd src/python | |
| ./build.sh | |
| pip install pytest | |
| pytest test | |
| lint: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.10'] | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Prepare python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Run pre-commit hooks | |
| run: | | |
| pip install pre-commit | |
| pre-commit run --all-files |