Skip to content

feat: add some new tests #671

feat: add some new tests

feat: add some new tests #671

Workflow file for this run

name: Json2xml
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: [pypy-3.10, '3.10', '3.11' , '3.12', '3.13.0-rc.2']
os: [
ubuntu-latest,
windows-latest,
macos-latest,
]
include:
# Add exact version 3.14.0-alpha.0 for ubuntu-latest only
- python-version: '3.14.0-alpha.0'
os: ubuntu-latest
exclude:
# Exclude other OSes with Python 3.14.0-alpha.0
- python-version: '3.14.0-alpha.0'
os: windows-latest
- python-version: '3.14.0-alpha.0'
os: macos-latest
steps:
- uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade -r requirements-dev.txt
pip install .
- name: Unit tests
run: |
coverage run -m pytest
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3