Skip to content

Commit

Permalink
Attempt to run tests in MacOS as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
prokher committed May 4, 2023
1 parent 19ac8ba commit 6c3e3cf
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:
branches: [master]

jobs:
build:
text-ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -51,3 +51,24 @@ jobs:
- name: Test with Pytest
run: |
poetry run pytest
text-macos:
runs-on: macos-latest
strategy:
matrix:
python-version: [3.8.16, 3.9.16, 3.10.11]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install dependencies
run: |
poetry install
- name: Test with Pytest
run: |
poetry run pytest

0 comments on commit 6c3e3cf

Please sign in to comment.