Skip to content

feat: allow parallel Jenkins stages for tests #239

feat: allow parallel Jenkins stages for tests

feat: allow parallel Jenkins stages for tests #239

Workflow file for this run

# .github/workflows/unittest.yml: configuration file for github actions worflow
# This file was automatically generated using 'python -m vsc.install.ci'
# DO NOT EDIT MANUALLY
jobs:
python_ruff_check:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{matrix.python}}
- name: install ruff
run: pip install 'ruff'
- name: Run ruff
run: ruff check .
strategy:
matrix:
python:
- 3.9
python_ruff_format:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{matrix.python}}
- name: install ruff
run: pip install 'ruff'
- name: Run ruff format
run: ruff format --check .
strategy:
matrix:
python:
- 3.9
python_unittests:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: install tox
run: pip install 'virtualenv' 'tox'
- name: add mandatory git remote
run: git remote add hpcugent https://github.com/hpcugent/vsc-install.git
- name: Run tox
run: tox -e py$(echo ${{ matrix.python }} | sed 's/\.//g')
strategy:
matrix:
python:
- 3.9
name: run python tests
'on':
- push
- pull_request