Skip to content

Commit

Permalink
Added workflow.yml for python pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
miniskar authored Jun 20, 2024
1 parent b1b824b commit c9a7369
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Python Package

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
pip install pytest
pytest

0 comments on commit c9a7369

Please sign in to comment.