Bump pillow from 11.2.1 to 11.3.0 #114
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: CLARITE CI (Python + R) | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11"] | |
| env: | |
| R_LIBS_USER: ./r-libs | |
| steps: | |
| - uses: actions/checkout@v2 | |
| # - name: Install R and survey package | |
| # run: | | |
| # sudo apt update | |
| # sudo apt install -y r-base | |
| # Rscript -e 'install.packages("survey", repos="https://cloud.r-project.org")' | |
| - name: Install R | |
| run: | | |
| sudo apt update | |
| sudo apt install -y r-base | |
| - name: Install system dependencies for rpy2 | |
| run: | | |
| sudo apt install -y libtirpc-dev | |
| - name: Install survey R package | |
| run: | | |
| mkdir -p $R_LIBS_USER | |
| Rscript -e 'install.packages("survey", repos = "https://cloud.r-project.org", lib = Sys.getenv("R_LIBS_USER"))' | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Poetry | |
| uses: snok/install-poetry@v1 | |
| with: | |
| version: 1.5.1 | |
| virtualenvs-create: true | |
| virtualenvs-in-project: true | |
| - name: Load cached venv | |
| id: cached-poetry-dependencies | |
| uses: actions/cache@v3 | |
| with: | |
| path: .venv | |
| key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }} | |
| - name: Install dependencies (if cache miss) | |
| if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' | |
| run: poetry install --no-interaction --no-root | |
| - name: Install library | |
| run: poetry install --no-interaction | |
| - name: Code Quality | |
| run: | | |
| source .venv/bin/activate | |
| black . --check | |
| - name: Test with pytest | |
| run: | | |
| source .venv/bin/activate | |
| pytest -n 2 --cov . --cov-report=xml | |
| # - name: Upload coverage to Codecov | |
| # uses: codecov/codecov-action@v3 | |
| # with: | |
| # file: ./coverage.xml | |
| # flags: unittests | |
| # name: codecov-umbrella | |
| # fail_ci_if_error: true | |
| # verbose: true |