Fixed problems with numeric input #92
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
style: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: RojerGS/python-black-check@master | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
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: Run tests | |
run: pytest | |
- name: Run tests with coverage | |
if: ${{ matrix.python-version == '3.10' }} | |
run: coverage run -m pytest shakespearelang/tests/ | |
- uses: paambaati/[email protected] | |
if: ${{ matrix.python-version == '3.10' }} | |
env: | |
CC_TEST_REPORTER_ID: 5822386b50d7a5144fa9ea28cf5f0328d2f9df1fa7bde4a3ed6a82a6ac7f4ca8 | |
with: | |
coverageCommand: coverage xml | |
debug: true |