From 076a471c4afcc4ad2a96400da895b0f283f27e04 Mon Sep 17 00:00:00 2001 From: prashantghimire Date: Tue, 14 Oct 2025 21:07:43 -0500 Subject: [PATCH 1/2] update --- .github/workflows/tests.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 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..f940a17 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,31 @@ +name: CI + +on: + push: + branches: + - master + - dev + pull_request: + branches: + - master + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.9' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt pytest pytest-asyncio + playwright install --with-deps chromium + + - name: Run tests + run: pytest From d917fc4ce45ce546752f503330127407b07396a0 Mon Sep 17 00:00:00 2001 From: prashantghimire Date: Tue, 14 Oct 2025 21:11:48 -0500 Subject: [PATCH 2/2] update --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index c841a7d..e586a80 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,3 @@ playwright==1.48.0 +pytest==8.3.4 +pytest-asyncio==0.22.0