# This workflow will install Python dependencies, run tests with python2 and 3 on windows, macOS an ununtu # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions name: Metrix++ Tests on: push: pull_request: jobs: test: name: Test on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] os: [ubuntu-latest, windows-latest, macOS-latest] steps: - uses: actions/checkout@main - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@main with: python-version: ${{ matrix.python }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - name: Run tests run: | python metrix++.py test