refactor(config): migrate to pyproject.toml, patch tests with mock
#47
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 executables | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| paths: | |
| - "plugins/**" | |
| jobs: | |
| tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
| python-version: ["3.10", "3.12"] | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install pytest | |
| run: pip install -q pytest pytest-cov scipy | |
| - name: Run plugin's bin tests | |
| env: | |
| RUN_INTEGRATION: "1" | |
| run: pytest |