Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
agondo69 authored Jan 2, 2025
1 parent 25e5900 commit 4dbdb48
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1 +1,39 @@
name: CI Pipeline for my addnumapp App

on:
push:
branches:
- main # Trigger on pushes to main branch
pull_request:
branches:
- main # Trigger on pull requests to main branch

jobs:
test:
runs-on: ubuntu-latest

steps:
# Check out the code
- name: Checkout Code
uses: actions/checkout@v3

# Set up Python environment
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'

# Install dependencies
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Run tests
- name: Run Tests
run: pytest # Replace with your test framework or script

# Optional: Linting (e.g., Flake8)
- name: Run Linter
run: pip install flake8 && flake8 .

0 comments on commit 4dbdb48

Please sign in to comment.