Add a timeout to the SMB and NFS setup steps in CI

The apt mirrors regularly hang for many minutes, which was taking out
random jobs until the job timeout.
This commit is contained in:
Dan Stillman 2026-08-20 12:30:19 -04:00
parent b930ddb863
commit da705c36ec

View file

@ -135,6 +135,7 @@ jobs:
- name: Set up SMB share
if: matrix.shard == 'smb'
timeout-minutes: 10
run: |
sudo apt install -y --no-install-recommends samba cifs-utils
sudo mkdir -p /srv/zotero-smb /mnt/zotero-smb
@ -151,6 +152,7 @@ jobs:
- name: Set up NFS share
if: matrix.shard == 'nfs'
timeout-minutes: 10
run: |
sudo apt install -y --no-install-recommends nfs-kernel-server
sudo mkdir -p /srv/zotero-nfs /mnt/zotero-nfs