Skip to content

Commit

Permalink
Updated test workflow and added 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
shner-elmo committed Jul 7, 2024
1 parent 08d5b21 commit 9a0eeee
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,35 @@
name: Test

on:
- pull_request
pull_request:
branches:
- master
- live
push:
branches:
- master
- live

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest] #windows-latest
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']

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

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
curl -sSL https://install.python-poetry.org | python3 -
poetry install
poetry run pip install -e .
poetry run pip install
- name: Run tests
run: poetry run pytest

# TODO: add coverage as well

0 comments on commit 9a0eeee

Please sign in to comment.