# 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: [2.7, 3.5, 3.6, 3.7, 3.8] os: [ubuntu-latest, windows-latest, macOS-latest] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v2 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