Skip to content

Adding w3c anno example #203

Adding w3c anno example

Adding w3c anno example #203

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Run-tests
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.10', '3.11', '3.12', '3.13']
name: Python ${{ matrix.python-version }} sample
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('dev-requirements.txt') }}
- name: Install tox
run: python -m pip install -U tox
- name: Test
run: tox
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
format: cobertura
file: coverage.xml
flag-name: ${{ matrix.python-version }}
parallel: true
coveralls-finish:
needs: build
runs-on: ubuntu-latest
if: ${{ always() }}
steps:
- name: Finish Coveralls parallel build
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true