Skip to content

Commit

Permalink
Create python-package.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammad-fiaz authored Dec 16, 2023
1 parent 74e7e97 commit b15d901
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/python-package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Run Tests

on:
push:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

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

- name: Checkout Repository
uses: actions/checkout@v2

- name: Install Python dependencies
uses: py-actions/py-dependency-install@v4
with:
path: "requirements.txt"
update-pip: "true"
update-setuptools: "true"
update-wheel: "true"

- name: Run tests
run: pytest tests

0 comments on commit b15d901

Please sign in to comment.