1234567891011121314151617181920212223242526272829303132 |
- # This workflow will install Python dependencies, run tests and lint with a single version of Python
- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
- name: Python application
- 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
|