Skip to content

Commit

Permalink
feat - add github action pytest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilevk committed May 6, 2024
1 parent 46bfc6c commit 692c8d3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci_workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Python CI

on: push

jobs:
test:
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.11
architecture: x64

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root
- name: Run tests with pytest
run: |
poetry run python -m pytest tests -s

0 comments on commit 692c8d3

Please sign in to comment.