From 5ccd81939bda29869ff47c63f27f04e08703b346 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Mar 2026 22:51:54 +0000 Subject: [PATCH 1/2] Initial plan From fd280ba5fc137e316662cd9f71d93bdfeb2fceb0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Mar 2026 22:54:14 +0000 Subject: [PATCH 2/2] ci: add GitHub Actions workflow to run tests on PRs to main Co-authored-by: dimalvovs <1246862+dimalvovs@users.noreply.github.com> Agent-Logs-Url: https://github.com/FertigLab/ontrack/sessions/efa0d309-9bac-4971-babc-673e6cee5165 --- .github/workflows/tests.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..41d4abb --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,28 @@ +name: Tests + +on: + pull_request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + + - name: Install dependencies + run: | + pip install -r requirements.txt + pip install pytest + + - name: Run tests + run: python3 -m pytest tests/ -v