Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -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