From e922663d9c0a12b199a1e797001538524164a766 Mon Sep 17 00:00:00 2001 From: Akhileswar Date: Tue, 21 Oct 2025 19:15:07 +0530 Subject: [PATCH] added yml file --- .github/workflows/python-test.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/python-test.yml diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml new file mode 100644 index 0000000..2541e75 --- /dev/null +++ b/.github/workflows/python-test.yml @@ -0,0 +1,18 @@ +name: Python Auto Test + +on: [push] # means: run this every time I push code to GitHub + +jobs: + test: # name of the job + runs-on: ubuntu-latest # the environment (like a virtual computer) + steps: + - name: Checkout code + uses: actions/checkout@v3 # step 1: get your code from GitHub + + - name: Set up Python + uses: actions/setup-python@v5 # step 2: install Python + with: + python-version: '3.10' # version to use + + - name: Run a test command + run: python --version # step 3: run your Python command