From 6bb51be98067e34676968ca23fc5b1b3c056e7b9 Mon Sep 17 00:00:00 2001 From: Carly Chin Sek Yi <89466420+ChinSekYi@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:30:13 +0800 Subject: [PATCH] Create testing-ci.yml --- .github/workflows/testing-ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/testing-ci.yml diff --git a/.github/workflows/testing-ci.yml b/.github/workflows/testing-ci.yml new file mode 100644 index 0000000..8007cb3 --- /dev/null +++ b/.github/workflows/testing-ci.yml @@ -0,0 +1,29 @@ +name: Python application test with Github Actions + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install dependencies + run: | + make install + - name: Lint with pylint + run: | + make lint + - name: Test with pytest + run: | + make test + - name: Format code + run: | + make format + +