From 846ac903016bc7ae6afc5927f6313b1c0a695a54 Mon Sep 17 00:00:00 2001 From: KBNetplatform <132273705+KBNetplatform@users.noreply.github.com> Date: Thu, 4 May 2023 00:15:09 +0630 Subject: [PATCH 1/4] Create devcontainer.json --- .devcontainer/devcontainer.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..ad93c14 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,5 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "features": { + } +} From 15f13aff8dfb06e210d83a7fb237571ac01a6708 Mon Sep 17 00:00:00 2001 From: KBNetplatform <132273705+KBNetplatform@users.noreply.github.com> Date: Thu, 4 May 2023 00:25:53 +0630 Subject: [PATCH 2/4] Create python-app.yml --- .github/workflows/python-app.yml | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 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..7f453c0 --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,39 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python + +name: Python application + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: "3.10" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install flake8 pytest + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Lint with flake8 + run: | + # stop the build if there are Python syntax errors or undefined names + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: Test with pytest + run: | + pytest From 87358c0f622dd6437749108689711929e96f8675 Mon Sep 17 00:00:00 2001 From: KBNetplatform <132273705+KBNetplatform@users.noreply.github.com> Date: Thu, 4 May 2023 00:28:57 +0630 Subject: [PATCH 3/4] Create Codes24 --- .github/workflows/Codes24 | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/Codes24 diff --git a/.github/workflows/Codes24 b/.github/workflows/Codes24 new file mode 100644 index 0000000..9f0ebb8 --- /dev/null +++ b/.github/workflows/Codes24 @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. From 0b79d60f200a4c7f1a5c3f25e3f0b47ff6f8334c Mon Sep 17 00:00:00 2001 From: KBNetplatform <132273705+KBNetplatform@users.noreply.github.com> Date: Thu, 4 May 2023 01:04:06 +0630 Subject: [PATCH 4/4] Update devcontainer.json --- .devcontainer/devcontainer.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ad93c14..e9d215b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,3 +3,5 @@ "features": { } } +"ghcr.io/akhildevelops/devcontainer-features/android-cli:0": {} +"ghcr.io/devcontainers-contrib/features/angular-cli:2": {}