mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-10 00:34:29 +00:00
35 lines
700 B
YAML
35 lines
700 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
python-version: [3.11]
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
run: pip install .[tests]
|
|
working-directory: nwb_linkml
|
|
|
|
- uses: pavelzw/pytest-action@v2
|
|
with:
|
|
emoji: true
|
|
verbose: true
|
|
job-summary: true
|
|
custom-arguments: 'nwb_linkml/tests'
|
|
|
|
- run: "coveralls --service=github"
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|