Skip to content

Commit

Permalink
GitHub Action for testing (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristobalcl authored Jul 5, 2023
1 parent d816431 commit 7853b12
Show file tree
Hide file tree
Showing 3 changed files with 811 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test

on:
push:
pull_request:
branches: [ main ]

jobs:
release:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ['3.9', '3.10']

steps:
- uses: actions/checkout@v2

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

- name: Install Poetry
uses: snok/[email protected]

- name: Install dependencies
run: poetry install --with dev

- name: Run test
run: poetry run pytest tests/
Loading

0 comments on commit 7853b12

Please sign in to comment.