Calmcode - pytest: git

Git

1 2 3 4 5 6 7 8 9 10 11

Feel free to check out the git repository to see all the configuration files. The main file that you're likely interested in though is the GitHub workflow file. This file is listed below.

# .github/workflows/pythonpackage.yml
name: Python package

on: [push, pull_request]

jobs:
build:
  runs-on: ubuntu-latest
  strategy:
  matrix:
      python-version: [3.7]

  steps:
  - uses: actions/checkout@v2
  - name: Set up Python ${{ matrix.python-version }}
  uses: actions/setup-python@v1
  with:
      python-version: ${{ matrix.python-version }}
  - name: Test with pytest
  run: |
      pip install pytest
      pytest --verbose