Skip to content

with add cmd & pytest wf #1

with add cmd & pytest wf

with add cmd & pytest wf #1

Workflow file for this run

name: Run Pytest
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Run Pytest
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.x # Specify the Python version you want to use
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python -
export PATH="$HOME/.poetry/bin:$PATH"
- name: Install dependencies
run: |
poetry install
- name: Run pytest
run: |
poetry run pytest