name: Install Volatility3 test
on: [push, pull_request]
jobs:

  install_test:
    runs-on: ${{ matrix.host }}
    strategy:
      fail-fast: false
      matrix:
        host: [ ubuntu-latest, windows-latest ]
        python-version: [ "3.8", "3.9", "3.10", "3.11" ]
    steps:
    - uses: actions/checkout@v4

    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v4
      with:
        python-version: ${{ matrix.python-version }}

    - name: Setup python-pip
      run: python -m pip install --upgrade pip

    - name: Install volatility3
      run: pip install .

    - name: Run volatility3
      run: vol --help
