Skip to content

requirements(deps): bump coverage from 7.14.3 to 7.15.0 #2500

requirements(deps): bump coverage from 7.14.3 to 7.15.0

requirements(deps): bump coverage from 7.14.3 to 7.15.0 #2500

name: Smoke test creation of Void chroots
on:
pull_request:
push:
schedule:
- cron: '0 16 * * 5' # Every Friday 4pm
jobs:
install_and_run:
name: Smoke test creation of Void chroots
runs-on: ubuntu-22.04
steps:
- name: Checkout Git repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Cache pip
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Set up Python 3.14
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: 3.14
- name: Install
run: |-
sudo pip3 install \
--disable-pip-version-check \
.
- name: Smoke test creation of Void chroots
run: |-
cd /tmp # to not be in Git clone folder
directory-bootstrap --help ; echo
directory-bootstrap void --help ; echo
sudo PYTHONUNBUFFERED=1 directory-bootstrap --verbose --debug void /tmp/void_chroot/
- name: Create .tar archive
run: |-
set -eux
git fetch --force --tags --unshallow origin # for "git describe"
chroot_base_name="void-chroot-$(date '+%Y-%m-%d-%H-%M')-image-bootstrap-$(git describe --tags).tar.xz"
sudo chmod a+xr /tmp/void_chroot/ # for "cd"
( cd /tmp/void_chroot/ && sudo tar c . ) | xz -T "$(nproc)" > "${chroot_base_name}"
ls -lh "${chroot_base_name}"
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: void-chroot-qcow2
path: '*.tar.xz'
if-no-files-found: error