From da900ac296cd5b6ead4cd227f2ffcf0e493bae4c Mon Sep 17 00:00:00 2001 From: Jason Zhang Date: Fri, 6 Jun 2025 14:54:37 -0400 Subject: [PATCH 1/3] fix test badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d77c7ff..62d567e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # CAPY - Club Assistant in Python -[![Tests](https://github.com/CApy-RPI/mvp/actions/workflows/tests.yml/badge.svg)](https://github.com/CApy-RPI/mvp/actions/workflows/tests.yml) +[![Tests](https://github.com/CApy-RPI/onboarding/actions/workflows/tests.yml/badge.svg)](https://github.com/CApy-RPI/onboarding/actions/workflows/tests.yml) ## **Overview** From f61032a766744d0be5f9ee5309799277a094c718 Mon Sep 17 00:00:00 2001 From: Jason Zhang Date: Fri, 6 Jun 2025 14:59:59 -0400 Subject: [PATCH 2/3] add workflows --- .github/workflows/tests.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..77ace11 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,26 @@ +name: Tests + +on: + - push + - pull_request + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + python-version: ['3.12'] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install tox tox-gh-actions + - name: Test with tox + run: tox \ No newline at end of file From 9e5c66d48215952004df82f1a3a6b8d1569467bc Mon Sep 17 00:00:00 2001 From: Jason Zhang Date: Fri, 6 Jun 2025 15:05:56 -0400 Subject: [PATCH 3/3] add tests folder --- tests/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/.keep diff --git a/tests/.keep b/tests/.keep new file mode 100644 index 0000000..e69de29