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 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** diff --git a/tests/.keep b/tests/.keep new file mode 100644 index 0000000..e69de29