2023-08-31 22:44:43 +00:00
|
|
|
name: Tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
|
|
|
|
jobs:
|
2023-09-06 04:47:41 +00:00
|
|
|
test:
|
2023-08-31 22:44:43 +00:00
|
|
|
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
|
2023-09-06 04:47:41 +00:00
|
|
|
run: pip install .[tests]
|
2023-09-06 02:25:20 +00:00
|
|
|
working-directory: nwb_linkml
|
2023-08-31 22:44:43 +00:00
|
|
|
|
|
|
|
- uses: pavelzw/pytest-action@v2
|
|
|
|
with:
|
|
|
|
emoji: true
|
|
|
|
verbose: true
|
|
|
|
job-summary: true
|
2023-09-06 04:53:16 +00:00
|
|
|
custom_arguments: 'nwb_linkml'
|
2023-09-06 04:47:41 +00:00
|
|
|
|
2023-09-06 04:53:16 +00:00
|
|
|
- run: "coveralls --service=github"
|
2023-09-06 04:47:41 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|