Skip to content

CI yml file

CI yml file #1

Workflow file for this run

<tbr/.github/workflows/python-ci.yml>

Check failure on line 1 in .github/workflows/python-ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python-ci.yml

Invalid workflow file

(Line: 1, Col: 1): Unexpected value '<tbr/.github/workflows/python-ci.yml>'
# This is a basic GitHub Actions workflow for Python CI
name: Python CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository
- name: Checkout code
uses: actions/checkout@v3
# Step 2: Set up Python
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x' # Adjust the version as needed
# Step 3: Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt