Skip to content

try fix ci

try fix ci #8

Workflow file for this run

name: Python Bash Tests
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y python3-pip python3-setuptools cmake patchelf python3-venv
pip install build twine
pip install .
- name: Run bash tests
run: python3 test/test_run_bash_tests.py
- name: Push step (only on tag)
if: startsWith(github.ref, 'refs/tags/') && matrix.python-version == '3.10'
run: PYPI_TOKEN="${{ secrets.PYPI_TOKEN }}" bash deploy.bash