Skip to content

verify specified tubes exist before executing for certain commands #16

verify specified tubes exist before executing for certain commands

verify specified tubes exist before executing for certain commands #16

Workflow file for this run

name: 'CI'
on:
push:
branches: [ master ]
pull_request:
jobs:
run-tests:
env:
BEANSTALK_VERSION: '1.12'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: cache beanstalkd
id: cache-beanstalkd
uses: actions/cache@v4
with:
path: ~/beanstalks
key: ${{ runner.os }}-${{ env.BEANSTALK_VERSION }}
- name: build beanstalkd
if: steps.cache-beanstalkd.cache_hit != 'true'
run: |
mkdir -p ~/beanstalks
curl -LJ -o /tmp/beanstalkd.tar.gz https://github.com/beanstalkd/beanstalkd/archive/v${{ env.BEANSTALK_VERSION }}.tar.gz
tar -C /tmp -xvf /tmp/beanstalkd.tar.gz
cd /tmp/beanstalkd-${{ env.BEANSTALK_VERSION }}
make
mv beanstalkd ~/beanstalks/
- name: set up python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: make test
run: "make test"
env:
BEANSTALKD_PATH: ~/beanstalks/beanstalkd