Skip to content

Commit e922663

Browse files
committed
added yml file
1 parent 3cc9bed commit e922663

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/python-test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Python Auto Test
2+
3+
on: [push] # means: run this every time I push code to GitHub
4+
5+
jobs:
6+
test: # name of the job
7+
runs-on: ubuntu-latest # the environment (like a virtual computer)
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v3 # step 1: get your code from GitHub
11+
12+
- name: Set up Python
13+
uses: actions/setup-python@v5 # step 2: install Python
14+
with:
15+
python-version: '3.10' # version to use
16+
17+
- name: Run a test command
18+
run: python --version # step 3: run your Python command

0 commit comments

Comments
 (0)