feat: release 1.2.0 #98
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: Squash tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-docker-24: | |
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@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup | |
run: | | |
sudo apt-get update | |
pip install "tox<4.0.0" setuptools | |
- 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-docker-25: | |
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@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
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 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" | |
apt-cache policy docker-ce | |
sudo apt-get install docker-ce docker-ce-cli containerd.io | |
pip install "tox<4.0.0" setuptools | |
- 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/./}" |