Dropped support of plotnine and Fixed some bugs #33
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: | |
| branches: [main, develop] | |
| paths: ["patchworklib/**", "tests/**", ".github/workflows/ci.yml"] | |
| pull_request: | |
| branches: [main, develop] | |
| paths: ["patchworklib/**", "tests/**", ".github/workflows/ci.yml"] | |
| workflow_dispatch: | |
| jobs: | |
| pytest-ci: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup Python ${{ matrix.python-version}} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Dependencies | |
| run: | | |
| pip install -U pip | |
| pip install wheel seaborn | |
| pip install plotnine==0.13.6 | |
| pip install pytest pytest-cov | |
| pip install . | |
| - name: Run pytest | |
| run: pytest tests --tb=line --cov=patchworklib --cov-report=xml --cov-report=term |