Skip to content

Commit

Permalink
add initial workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kudanai committed Dec 23, 2023
1 parent 4ed706e commit f29083c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Pytest

on:
pull_request:
branches:
- master
- dev

jobs:
test:
runs-on: ubuntu-latest

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

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.9

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt # Replace with your dependencies
- name: Run Pytest
run: pytest
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pytest==7.4.3

0 comments on commit f29083c

Please sign in to comment.