Skip to content

Update first-action.yml #3

Update first-action.yml

Update first-action.yml #3

Workflow file for this run

name: My First Github Actions
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run Test
run: python test.py