commit c52c0caf0785a8dd62d94fb75db92cf43fa8d6a7 parent 1b5298a02dde4296862950fd35d4f160146dbd44 Author: ashermorgan <59518073+ashermorgan@users.noreply.github.com> Date: Tue, 20 Jul 2021 16:48:06 -0700 Setup GitHub Actions Diffstat:
| A | .github/workflows/main.yml | | | 25 | +++++++++++++++++++++++++ |
| A | Tests/__init__.py | | | 0 |
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: Python Application + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Python 3.8 + uses: actions/setup-python@v2 + with: + python-version: 3.8 + + - name: Install dependencies + run: pip install -r requirements.txt + + - name: Run tests with unittest + run: python -m unittest diff --git a/Tests/__init__.py b/Tests/__init__.py