Skip to content

Commit

Permalink
Add tests to GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jan 23, 2025
1 parent 118f776 commit a61e4c8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: tests

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python 3.
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install dependencies
run: python -m pip install pytest pytest-cov

- name: Run tests
run: python -m pytest tests --cov=oscar_python

0 comments on commit a61e4c8

Please sign in to comment.