Skip to content

chore: add resources and storage to deps #159

chore: add resources and storage to deps

chore: add resources and storage to deps #159

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.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Git with token to access other private repositories
run: git config --global url."https://${{ secrets.OTOMATOR_PAT }}@github".insteadOf https://github
- 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: Set up Git with token to access other private repositories
run: git config --global url."https://${{ secrets.OTOMATOR_PAT }}@github".insteadOf https://github
- 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}}