mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-10 00:34:29 +00:00
github test action
This commit is contained in:
parent
4ee77dbb2e
commit
c45458e748
4 changed files with 30 additions and 0 deletions
29
.github/workflows/tests.yml
vendored
Normal file
29
.github/workflows/tests.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name: Tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
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] pytest-md pytest-emoji
|
||||||
|
|
||||||
|
- uses: pavelzw/pytest-action@v2
|
||||||
|
with:
|
||||||
|
emoji: true
|
||||||
|
verbose: true
|
||||||
|
job-summary: true
|
0
tests/test_adapters/__init__.py
Normal file
0
tests/test_adapters/__init__.py
Normal file
1
tests/test_adapters/test_adapter_dataset.py
Normal file
1
tests/test_adapters/test_adapter_dataset.py
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import pytest
|
Loading…
Reference in a new issue