nwb-linkml/.github/workflows/tests.yml

36 lines
702 B
YAML
Raw Permalink Normal View History

2023-08-31 22:44:43 +00:00
name: Tests
on:
push:
jobs:
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 }}
2023-09-06 05:45:26 +00:00
cache: 'pip'
2023-08-31 22:44:43 +00:00
- name: Install dependencies
run: pip install -e .[tests]
2023-09-06 02:25:20 +00:00
working-directory: nwb_linkml
2023-08-31 22:44:43 +00:00
2023-09-06 05:42:46 +00:00
- name: Run Tests
run: pytest
working-directory: nwb_linkml
2023-09-06 05:42:46 +00:00
- name: Report coverage
working-directory: nwb_linkml
run: "coveralls --service=github"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}