From 26f979651c3e06633362d5fb782d7ff94bd5e10a Mon Sep 17 00:00:00 2001 From: WhatCouldIDoWithThisKnowledge Date: Tue, 9 Dec 2025 12:30:07 +0100 Subject: [PATCH] wompwomp --- .github/git-test.yaml | 18 +++++++++++ .github/github-actions-demo.yaml | 31 +++++++++++++++++++ .idea/.gitignore | 10 ++++++ .../inspectionProfiles/profiles_settings.xml | 6 ++++ .idea/misc.xml | 7 +++++ .idea/modules.xml | 8 +++++ .idea/python-cicd-kata.iml | 8 +++++ .idea/vcs.xml | 6 ++++ 8 files changed, 94 insertions(+) create mode 100644 .github/git-test.yaml create mode 100644 .github/github-actions-demo.yaml create mode 100644 .idea/.gitignore create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/python-cicd-kata.iml create mode 100644 .idea/vcs.xml diff --git a/.github/git-test.yaml b/.github/git-test.yaml new file mode 100644 index 0000000..dbc491d --- /dev/null +++ b/.github/git-test.yaml @@ -0,0 +1,18 @@ +name: GitHub Actions Demo +run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 +on: [push] +jobs: + Explore-GitHub-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v5 + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file diff --git a/.github/github-actions-demo.yaml b/.github/github-actions-demo.yaml new file mode 100644 index 0000000..f3dfcf1 --- /dev/null +++ b/.github/github-actions-demo.yaml @@ -0,0 +1,31 @@ +name: Code Quality +run-name: ${{ github.actor }} is checking code quality + +on: + pull_request: + branches: + - main + +jobs: + unit-tests: + name: python + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v5 + + - name: "Set up Python" + uses: actions/setup-python@v6 + with: + python-version-file: ".python-version" + + - name: Install uv + uses: astral-sh/setup-uv@v7 + + - name: Install the project + run: uv sync --all-extras --dev + shell: bash + + - name: Run unit tests + run: uv run pytest + shell: bash \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..ab1f416 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..8238dd6 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..dd8fcd8 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/python-cicd-kata.iml b/.idea/python-cicd-kata.iml new file mode 100644 index 0000000..dcfb727 --- /dev/null +++ b/.idea/python-cicd-kata.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file