Skip to content

Commit

Permalink
Run CoverUp tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovank committed Apr 17, 2024
1 parent 6709a5b commit 612ea41
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: tests

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

env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

jobs:
run-tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

- name: Install
run: |
python -m pip install --upgrade pip
pip install .
- name: Install test dependencies
run: python3 -m pip install pytest pytest-asyncio pytest-forked hypothesis pytest-mock

- name: run tests
run: python3 -m pytest --forked

0 comments on commit 612ea41

Please sign in to comment.