also update apscheduler in sfc/requirements.txt #21
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: SFC Core Sanity | |
| on: | |
| push: | |
| paths: | |
| - "sfc/**" | |
| - ".github/workflows/sfc-core-sanity.yml" | |
| pull_request: | |
| paths: | |
| - "sfc/**" | |
| - ".github/workflows/sfc-core-sanity.yml" | |
| workflow_dispatch: | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| core-sanity: | |
| name: core-sanity | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r sfc/requirements.txt | |
| - name: Compile core script | |
| run: python -m py_compile sfc/sfc.py | |
| - name: Validate imports | |
| run: | | |
| python - <<'PY' | |
| import importlib | |
| importlib.import_module("aiohttp") | |
| importlib.import_module("apscheduler") | |
| print("SFC core dependency imports succeeded") | |
| PY |