Skip to content

Commit

Permalink
setup ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikoleta-v3 committed Aug 12, 2024
1 parent 2aef69c commit f4e22b8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: ci

on: [pull_request]

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
max-parallel: 2
matrix:
os: [ubuntu-latest, macOS-latest]
python-version: [3.9, 3.10]

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install the package
run: |
python install -e .
- name: Test with pytest
run: |
pytest tests

0 comments on commit f4e22b8

Please sign in to comment.