Skip to content

feature/granulate utils deprecate cgroup v2 code #599

feature/granulate utils deprecate cgroup v2 code

feature/granulate utils deprecate cgroup v2 code #599

name: granulate-utils
on: pull_request
jobs:
lint:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
runs-on: ubuntu-latest
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Checkout Code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r dev-requirements.txt
- name: Run linters
run: ./lint.sh --ci
test:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
runs-on: ubuntu-latest
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Checkout Code
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r dev-requirements.txt
- name: Install self
run: pip install -e .
- name: Test
run: pytest tests/granulate_utils