exekall: Fix handling of parametrized classes #3728
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
name: test | |
# Run this workflow every time a new commit pushed to your repository | |
on: | |
pull_request: null | |
# To be able to manually trigger the job from GitHub UI | |
workflow_dispatch: | |
inputs: | |
ref: | |
description: 'git reference to clone' | |
required: false | |
default: 'main' | |
# Run the tests when anything is merged in "main", since the test in the PR | |
# might have been carried on an older base. Github allows merging as long as | |
# the PR can be rebased without conflict, which does not guarantee in itself | |
# nothing is broken. | |
push: | |
branches: | |
- 'main' | |
jobs: | |
# Set the job key. The key is displayed as the job name | |
# when a job name is not provided | |
test: | |
# Name the Job | |
name: test | |
# Cancel current runs of the workflow if we trigger it again for the same | |
# ref. | |
concurrency: | |
group: ${{ github.workflow }}-${{ matrix.os }}-${{ matrix.python-version }}-${{ github.ref }} | |
cancel-in-progress: true | |
# Set the type of machine to run on | |
# https://github.com/actions/virtual-environments | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
#- ubuntu-18.04 | |
# Use ubuntu 22.04 as it solved the firefox-geckodriver package mess compared to 20.04 | |
- ubuntu-22.04 | |
python-version: | |
# Github seems to always block 3 jobs these days, so keep at most 3 | |
# versions there: | |
- '3.8' | |
- '3.11' | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
# Checks out a copy of your repository on the virtual machine | |
- uses: actions/checkout@v3 | |
with: | |
# Avoid a shallow clone, which breaks the check on external/ | |
# modification and and provides inaccurate doc | |
fetch-depth: "0" | |
ref: ${{ github.event.inputs.ref || github.sha }} | |
# Install the python version specified in the matrix | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
# Add retries following suggestion in: | |
# https://github.com/actions/runner-images/issues/6894 | |
- run: sudo sh -c 'echo "APT::Acquire::Retries=3;" >> /etc/apt/apt.conf.d/99retry-downloads' | |
- run: sudo ./install_base.sh --install-all | |
- run: echo "$(python3 --version)" | |
- run: sudo chmod o+rx /sys/kernel/debug | |
- run: bash ./tools/tests.sh |