name: Python tests (make) on: push: branches: ["**"] pull_request: types: [closed] jobs: test: runs-on: ubuntu-22.04 container: mcr.microsoft.com/devcontainers/python:3.11 steps: - name: Install Node (and git/make) inside container run: | set -eux apt-get update # add gcc & toolchain while keeping your originals apt-get install -y --no-install-recommends curl ca-certificates git build-essential make curl -fsSL https://deb.nodesource.com/setup_20.x | bash - apt-get install -y --no-install-recommends nodejs node -v rm -rf /var/lib/apt/lists/* - name: Checkout uses: actions/checkout@v4 - name: Install dependencies if: hashFiles('requirements.txt') != '' run: | python -m pip install --upgrade pip pip install -r requirements.txt - name: Show Python info run: | python --version pip --version || true - name: Run tests via make env: LD_LIBRARY_PATH: build run: make test