diff --git a/.github/workflows/ci_workflow.yaml b/.github/workflows/ci_workflow.yaml new file mode 100644 index 0000000..31cd3a3 --- /dev/null +++ b/.github/workflows/ci_workflow.yaml @@ -0,0 +1,27 @@ +name: Python CI + +on: push + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.11 + architecture: x64 + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install poetry + poetry install --no-root + + - name: Run tests with pytest + run: | + poetry run python -m pytest tests -s