From bd8aa4b84bc5079fb6b88afaf6e3e6547071dc4f Mon Sep 17 00:00:00 2001 From: admeeer Date: Tue, 10 Oct 2023 16:13:11 -0700 Subject: [PATCH] Create yml file automation.yml --- .github/workflows/automation.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/automation.yml diff --git a/.github/workflows/automation.yml b/.github/workflows/automation.yml new file mode 100644 index 0000000..cdbae39 --- /dev/null +++ b/.github/workflows/automation.yml @@ -0,0 +1,28 @@ +name: cicd + +on: + push: + 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 + run: | + python -m pip install --upgrade pip + pip install pytest + + - name: test + run: | + pytest