From 982f4d833e4f73e0a281d02bb8611de3bf177d31 Mon Sep 17 00:00:00 2001 From: thelfer1 Date: Thu, 21 Dec 2023 13:40:25 -0500 Subject: [PATCH] add github actions --- .github/workflows/actions.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/actions.yml diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml new file mode 100644 index 0000000..0a970dd --- /dev/null +++ b/.github/workflows/actions.yml @@ -0,0 +1,26 @@ +name: Python application test + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + 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: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Run pytest + run: | + pytest \ No newline at end of file