Skip to content

Commit

Permalink
try running pytest in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dinmukhamedm committed Jan 4, 2025
1 parent ef4a4fa commit 7b38df6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run Tests

on:
push:
branches: ["tests-workflow"]
# pull_request:
# types: [opened, synchronize]
# branches: ["main"]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: uv sync
- name: Run tests
run: uv run pytest

0 comments on commit 7b38df6

Please sign in to comment.