Skip to content

Commit

Permalink
Test Python 3.13 on GH Actions (#51)
Browse files Browse the repository at this point in the history
+ Update tests to handle changed error messages.
  • Loading branch information
akosthekiss authored Nov 20, 2024
1 parent 50337dc commit d2871f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.9, '3.10', '3.11', '3.12', 'pypy-3.10']
python-version: [3.8, 3.9, '3.10', '3.11', '3.12', '3.13', 'pypy-3.10']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers =
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Topic :: Software Development :: Testing
platform = any

Expand Down
2 changes: 1 addition & 1 deletion tests/resources/test-json-extra-comma.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@echo off
python %~f0\..\sut-json-load.py %1 2>&1 | findstr /c:"Expecting property name" /c:"Expecting object" >NUL 2>&1
python %~f0\..\sut-json-load.py %1 2>&1 | findstr /c:"Expecting property name" /c:"Expecting object" /c:"Illegal trailing comma" >NUL 2>&1
2 changes: 1 addition & 1 deletion tests/resources/test-json-extra-comma.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#! /bin/bash
python $(dirname $0)/sut-json-load.py $1 2>&1 | grep -q -E "Expecting property name|Expecting object"
python $(dirname $0)/sut-json-load.py $1 2>&1 | grep -q -E "Expecting property name|Expecting object|Illegal trailing comma"

0 comments on commit d2871f2

Please sign in to comment.