From 101bebd77f32251fedd50ab314915c98c6da2c12 Mon Sep 17 00:00:00 2001 From: Ajit Kumar Date: Thu, 15 Feb 2024 21:34:08 +0900 Subject: [PATCH] Update testing-ci.yml Added actions for CI --- .github/workflows/testing-ci.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing-ci.yml b/.github/workflows/testing-ci.yml index 8ba3a16..52ddd94 100644 --- a/.github/workflows/testing-ci.yml +++ b/.github/workflows/testing-ci.yml @@ -1 +1,26 @@ -n +name: Test Multiple Python Versions +on: [push] +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.7, 3.8, 3.9] + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + make install + - name: Lint with pylint + run: | + make lint + - name: Test with pytest + run: | + make test + - name: Format code with Python Black + run: | + make format