Adding matrix strategy for hosts and python version

This commit is contained in:
Shutdown
2023-09-05 22:36:40 +02:00
parent 2a67aa639a
commit 9982a44131
+10 -3
View File
@@ -2,13 +2,20 @@ name: Install Volatility3 test
on: [push, pull_request]
jobs:
install:
runs-on: ubuntu-latest
install_test:
runs-on: ${{ matrix.host }}
strategy:
matrix:
fail-fast: false
host: [ ubuntu-latest, macOS-latest, windows-latest ]
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python
- 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