feat(slurm_ops): add cgroup configuration manager #65
Workflow file for this run
This file contains 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
# Copyright 2024 Canonical Ltd. | |
# See LICENSE file for licensing details. | |
name: hpc-libs tests | |
on: | |
workflow_call: | |
pull_request: | |
jobs: | |
inclusive-naming-check: | |
name: Inclusive naming check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run tests | |
uses: get-woke/woke-action@v0 | |
with: | |
fail-on-error: true | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: python3 -m pip install tox | |
- name: Run linters | |
run: tox -e lint | |
unit-test: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: python3 -m pip install tox | |
- name: Run tests | |
run: tox -e unit | |
integration-test: | |
name: Integration tests | |
runs-on: ubuntu-latest | |
needs: | |
- inclusive-naming-check | |
- lint | |
- unit-test | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: python3 -m pip install tox | |
- name: Set up LXD | |
uses: canonical/[email protected] | |
with: | |
channel: 5.21/stable | |
- name: Set up gambol | |
run: | | |
sudo snap install gambol | |
- name: Run tests | |
run: tox -e integration |