Skip to content

feat: initial core waylay-py client #4

feat: initial core waylay-py client

feat: initial core waylay-py client #4

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
tags:
- '**'
pull_request:
branches: [ "main" ]
jobs:
unit_test:
name: Unit Test Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11'] # TODO enable 3.8 - 3.10
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: '**/requirements*.txt'
- run: make ci-install
- run: make ci-code-qa
- run: make ci-test-unit
integration_test:
name: Unit and Integration Test Python 3.11
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: '**/requirements*.txt'
- run: make ci-install-latest
- run: make ci-test-unit
- run: make ci-test-integration
env:
WAYLAY_TEST_USER_ID: ${{vars.WAYLAY_TEST_USER_ID}}
WAYLAY_TEST_USER_SECRET: ${{secrets.WAYLAY_TEST_USER_SECRET}}