From 467ca8610605c0d997d65ce94f7a03778db50f68 Mon Sep 17 00:00:00 2001 From: Yifei Ding Date: Tue, 17 Feb 2026 14:00:09 -0800 Subject: [PATCH] Add GitHub Actions CI workflow for pytest Co-Authored-By: Claude Opus 4.6 --- .github/workflows/test.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..1ef8eaa --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,18 @@ +name: Tests + +on: + push: + branches: [main] + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.11" + - run: sudo apt-get update && sudo apt-get install -y cd-hit + - run: pip install -e .[tests] + - run: pytest