Add sysand sync instruction #7
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
| # This workflow will install Python dependencies and run the package checks | |
| name: Package Checks | |
| on: | |
| push: | |
| branches: [ "*" ] | |
| pull_request: | |
| branches: [ "*" ] | |
| schedule: | |
| - cron: "10 5 * * 1" | |
| env: | |
| PACKAGE_DIR: simulation_analysis | |
| jobs: | |
| package_checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.12 | |
| - name: Python info | |
| run: python --version | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip setuptools | |
| pip install pytest syside sysand | |
| - name: Install Sysand dependencies | |
| run: | | |
| cd ${PACKAGE_DIR} | |
| sysand sync | |
| - name: Check packages with pytest | |
| run: pytest package_checks --durations=0 | |
| env: | |
| SYSIDE_LICENSE_KEY: ${{ secrets.SYSIDE_LICENSE_KEY }} | |
| - name: Build kpars | |
| run: | | |
| cd ${PACKAGE_DIR} | |
| sysand build --update-meta |