diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 00000000..2d3f8da1 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,24 @@ +name: notebook-tests +on: + push: + branches: + - main + pull_request: + branches: + - main +jobs: + tests: + runs-on: ubuntu-latest + services: + elasticsearch: + image: docker.elastic.co/elasticsearch/elasticsearch:8.12.0 + env: + discovery.type: single-node + xpack.security.enabled: false + xpack.security.http.ssl.enabled: false + xpack.license.self_generated.type: trial + ports: + - 9200:9200 + steps: + - run: curl http://localhost:9200 + - run: curl http://127.0.0.1:9200 diff --git a/notebooks/integrations/hugging-face/.nbtest.yml b/notebooks/integrations/hugging-face/.nbtest.yml new file mode 100644 index 00000000..0b88e44d --- /dev/null +++ b/notebooks/integrations/hugging-face/.nbtest.yml @@ -0,0 +1,2 @@ +masks: +- 'Score: [0-9]+\.[0-9][0-9]*'