Skip to content

Prepare for publishing #8

Prepare for publishing

Prepare for publishing #8

name: 'PR checks'
on:
pull_request:
branches:
- main
concurrency:
group: format('{0}-{1}', ${{ github.ref }}, 'PR checks')
cancel-in-progress: true
jobs:
commits-signed:
name: "Commits signed"
runs-on: ubuntu-latest
steps:
- name: Check-out
uses: actions/checkout@v4
- name: "Commits signed"
run: |
# Check if any commit in the branch is signed
commits=$(git log --pretty=format:"%h %G?" | grep -v ' G' || true)
if [ -n "$commits" ]; then
echo "Error: Some commits are not signed!"
echo "$commits"
exit 1
else
echo "All commits are signed."
fi
integration-test:
name: "Integration test - MySQL 8.4"
runs-on: ubuntu-latest
container:
image: ubuntu:latest
volumes:
- .:/src
env:
MYSQLD_MAJOR_VERSION: "8.4"
steps:
- name: Check-out
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Build
run: pwd; ls; bash -x ci/build.sh
- name: Run integration test
run: pwd; ls; bash -x ci/run_integration_tests.sh