diff --git a/.github/workflows/test_install.yml b/.github/workflows/test_install.yml new file mode 100644 index 000000000..4aeb662a9 --- /dev/null +++ b/.github/workflows/test_install.yml @@ -0,0 +1,21 @@ +name: Check pip install package with multiple version of python +on: [push, pull_request] + +jobs: + check-requirements-install: + strategy: + matrix: + python-version: [ "3.9", "3.12" ] + + #ubuntu-20.04 based on debian 11 + #ubuntu-24.04 based on debian 12 + os: [ ubuntu-20.04, ubuntu-24.04 ] + + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + cache: 'pip' + - run: pip install -r requirements.txt