Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
laistdomiciano committed Sep 12, 2024
1 parent 2ffce0a commit 01679c5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@ name: Python CI

on:
push:
branches: [ "main" ] # Run on push to the main branch. Change this if you are using a different branch.
branches: [ "main" ]

jobs:
test:
runs-on: ubuntu-latest # Use the latest Ubuntu environment. You are welcome to change this.
runs-on: ubuntu-latest

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

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x' # Specify the Python version you want to use
python-version: '3.8' # Adjust to the specific Python version you're using, e.g., '3.11'

- name: Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests
run: |
pytest
pytest

0 comments on commit 01679c5

Please sign in to comment.