From b503bfda6d3a85fe4d0136a57b7aad0f89e117b0 Mon Sep 17 00:00:00 2001 From: JohnVonNeumann Date: Mon, 26 Feb 2024 18:04:17 +1100 Subject: [PATCH] CREATE .github/workflows/app.yml - add initial github action workflow file --- .github/workflows/app.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/app.yml diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml new file mode 100644 index 0000000..ee38bb5 --- /dev/null +++ b/.github/workflows/app.yml @@ -0,0 +1,23 @@ +name: Python App CI/CD + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.10 + uses: actions/setup-python@v2 + with: + python-version: 3.10 + - name: Install dependencies + run: poetry install + - name: Test with pytest + run: poetry run pytest \ No newline at end of file