Skip to content

Added new yaml workflows, changed the old publish pipelines and updated version numbers #1

Added new yaml workflows, changed the old publish pipelines and updated version numbers

Added new yaml workflows, changed the old publish pipelines and updated version numbers #1

name: Test with pytest
on: [pull_request, workflow_dispatch]
env:
PYTHONUNBUFFERED: 1
jobs:
test-with-pytest:
strategy:
matrix:
python-version: ['3.7', '3.12']
runs-on: ubuntu-22.04
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package with test dependencies
run: pip install .[test]
- name: Run unit tests
run: pytest keepersdk-package/unit_tests/