Update readme #62
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: CI | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| python-version: ["3.10"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies ${{ matrix.os }} | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e . | |
| shell: bash | |
| - name: Install development dependencies | |
| run: | | |
| python -m pip install -e ".[dev]" | |
| shell: bash | |
| - name: Initialise ml2sql folder structure | |
| run: | | |
| ml2sql init | |
| shell: bash | |
| - name: Pip listing | |
| run: | | |
| pip list | |
| shell: bash | |
| continue-on-error: true | |
| - name: Lint with Ruff | |
| run: | | |
| if [ "$RUNNER_OS" == "Windows" ]; then | |
| "ruff" check --output-format=github . | |
| else | |
| ruff check --output-format=github . | |
| fi | |
| shell: bash | |
| continue-on-error: true | |
| - name: Test with pytest | |
| run: | | |
| if [ "$RUNNER_OS" == "Windows" ]; then | |
| python -m "pytest" -k "not test_run and not test_check_model and not test_pre_process_kfold" | |
| else | |
| python -m "pytest" | |
| fi | |
| shell: bash | |