update: coherence #418
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: Test Import | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test-import: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install build dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y autoconf automake libtool m4 build-essential | |
| - name: Install uv | |
| run: curl -LsSf https://astral.sh/uv/install.sh | sh | |
| - name: Build and install package | |
| run: | | |
| export PATH="$HOME/.cargo/bin:$PATH" | |
| make build | |
| make fresh-sync | |
| - name: Test import | |
| run: | | |
| export PATH="$HOME/.cargo/bin:$PATH" | |
| source .venv/bin/activate | |
| python -c "import scloop; print('✓ Import successful')" |