Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 19 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,34 @@ jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ["3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v1
- name: Checkout ${{ github.repository }}
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
run: |
python -m pip install --upgrade pip
pip install .
pip install pytest==6.2.5 pexpect==4.8.0 coverage==5.3.1

- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python -

- name: Install dependencies
run: poetry install

- name: Run tests
run: pytest
run: poetry run pytest

- name: Run tests with coverage
if: ${{ matrix.python-version == '3.10' }}
if: ${{ matrix.python-version == '3.13' }}
run: coverage run -m pytest shakespearelang/tests/
- uses: paambaati/codeclimate-action@v2.7.5
if: ${{ matrix.python-version == '3.10' }}

- uses: paambaati/codeclimate-action@v9
if: ${{ matrix.python-version == '3.13' }}
env:
CC_TEST_REPORTER_ID: 5822386b50d7a5144fa9ea28cf5f0328d2f9df1fa7bde4a3ed6a82a6ac7f4ca8
with:
Expand Down
5 changes: 1 addition & 4 deletions .python-version
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
3.9.1
3.8.6
3.7.9
3.6.12
3.13.1
Loading