name: Test on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: python-version: '3.x' architecture: 'x64' - name: Install dependencies run: | python -m pip install --upgrade pip pip install pytest - name: Run unit tests run: | pytest