From a624e02ca4af24da788c97fe6bc8f21292abcbe1 Mon Sep 17 00:00:00 2001 From: premprabhat <86395957+premprabhat@users.noreply.github.com> Date: Tue, 11 Jan 2022 17:57:06 +0530 Subject: [PATCH 1/2] Create python-app.yml --- .github/workflows/python-app.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/python-app.yml diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml new file mode 100644 index 0000000..0df996f --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,20 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: Python application + +on: push + +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: | + cd src/ + ./build.sh From 45aafd91ac3eca1a0650a0dd669e46ad3acd1b6e Mon Sep 17 00:00:00 2001 From: premprabhat <86395957+premprabhat@users.noreply.github.com> Date: Tue, 11 Jan 2022 18:09:08 +0530 Subject: [PATCH 2/2] Update python-app.yml --- .github/workflows/python-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 0df996f..1d423de 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Python 3.10 + - name: Set up Python 3.6 uses: actions/setup-python@v2 with: python-version: "3.10"