
Signed-off-by: Nikhil Manglore <nmanglor@amazon.com> Signed-off-by: Nikhil Manglore <nikhilmanglore9@gmail.com> Co-authored-by: Roshan Khatri <117414976+roshkhatri@users.noreply.github.com>
25 lines
753 B
YAML
25 lines
753 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build-ubuntu-latest:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
server_version: ['unstable', '8.0']
|
|
steps:
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
- name: Set the server version for python integration tests
|
|
run: echo "SERVER_VERSION=${{ matrix.server_version }}" >> $GITHUB_ENV
|
|
- name: Set up Python
|
|
uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 #v3.1.4
|
|
with:
|
|
python-version: '3.9'
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -r requirements.txt
|
|
- name: Build and Run tests.
|
|
run: ./build.sh |