From 3e871c09db4d99bcc9327468191becb65f8b93f2 Mon Sep 17 00:00:00 2001 From: Ali Al-Bayaty Date: Thu, 15 Aug 2024 18:14:23 -0700 Subject: [PATCH] Run GH-Actions on tests.yml --- .github/workflows/tests.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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..9e6892c --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,27 @@ +name: Tests + +on: + - push + - pull_request + +jobs: + tests: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-14, ubuntu-latest, windows-latest] + python-version: ['3.9', '3.10', '3.11', '3.12'] + + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install tox tox-gh-actions + pip install -r requirements-dev.txt + - name: Test with tox + run: tox