Skip to content

#1355: Updated Dependencies on top of 10.1.0 (#597) #1860

#1355: Updated Dependencies on top of 10.1.0 (#597)

#1355: Updated Dependencies on top of 10.1.0 (#597) #1860

name: Test package management scripts
on:
push:
branches:
- master
pull_request:
jobs:
test_package_management_scripts:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- test_script: "bash run_tests.sh"
working_dir: "ext/scripts/tests/install_scripts"
name: "Test install scripts dry-run"
install_dependencies: false
- test_script: "bash test_scripts_in_docker.sh"
working_dir: "ext/scripts/tests/"
name: "Test install scripts in docker container"
install_dependencies: false
- test_script: "bash test_python_scripts_in_slim_docker.sh"
working_dir: "ext/scripts/tests/"
name: "Test PIP install scripts in slim docker container"
install_dependencies: false
- test_script: "bash run_tests.sh "
working_dir: "ext/scripts/tests/list_installed_scripts"
name: "Test list installed scripts"
install_dependencies: true
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
if: matrix.install_dependencies == true
with:
python-version: "3.10"
- name: Install R
if: matrix.install_dependencies == true
uses: r-lib/actions/setup-r@v2
- name: Init submodules
run: git submodule update --init --recursive
- name: ${{ matrix.name }}
run: ${{ matrix.test_script }}
working-directory: ${{ matrix.working_dir }}