Skip to content

Updating Workflows to Fix Missing pkg_resources #5242

Updating Workflows to Fix Missing pkg_resources

Updating Workflows to Fix Missing pkg_resources #5242

Workflow file for this run

name: build
on:
# quick tests for every pull request
push:
branches:
- main
pull_request:
jobs:
pep8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python 3.10
uses: actions/setup-python@v6
with:
python-version: '3.10'
cache: 'pip'
- name: Install dependencies
run: |
find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \;
python -m pip install --upgrade pip wheel wheel-stub
pip install --no-build-isolation -r https://raw.githubusercontent.com/Project-MONAI/MONAI/dev/requirements-dev.txt
pip install -r requirements.txt
- name: PEP8 check
run: |
$(pwd)/runner.sh --no-run