Skip to content

Handle Docker 25 OCI archive format #92

Handle Docker 25 OCI archive format

Handle Docker 25 OCI archive format #92

Workflow file for this run

name: Squash tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-1:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup
run: |
sudo apt-get update
pip install -U pip
pip install "tox<4.0.0"
- name: Info
run: |
docker version
docker info
- name: Run tests
run: |
PV=${{ matrix.python-version }}
echo "Running tests for Python version $PV ( ${PV/./} )"
make test-py"${PV/./}"
build-2:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup
run: |
for pkg in containerd runc; do sudo apt-get remove $pkg; done
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin
pip install -U pip
pip install "tox<4.0.0"
- name: Info
run: |
docker version
docker info
- name: Run tests
run: |
PV=${{ matrix.python-version }}
echo "Running tests for Python version $PV ( ${PV/./} )"
make test-py"${PV/./}"