From a811a9dee647d6b2ac32f2320b8165ee9e4d66a3 Mon Sep 17 00:00:00 2001 From: Mike Kinney Date: Wed, 1 Dec 2021 09:36:46 -0800 Subject: [PATCH] add pytest to github action --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..82e61f8 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: Run Python Tests +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install Python 3 + uses: actions/setup-python@v1 + with: + python-version: 3.9 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install markdown pdoc3 webencodings pyparsing twine autopep8 pylint pytest + - name: Run tests with pytest + run: pytest