Skip to content

Commit

Permalink
Add test integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
norpadon committed Jun 24, 2024
1 parent 1f9d5d1 commit f431e4d
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
tags: '*'
branches:
- main
pull_request:
branches:
- main

permissions:
contents: write

Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Tests
on:
push:
tags: '*'
branches:
- main
pull_request:
branches:
- main

jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
with:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- uses: abatilo/actions-poetry@v3
- name: install
run: poetry install --with dev
- name: Build documentation
run: poetry run pytest

2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[pytest]

3 changes: 3 additions & 0 deletions tests/test_nothing.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
def test_nothing():
pass

0 comments on commit f431e4d

Please sign in to comment.