From 150fce4fe99aff1fb8450bb55740da0ffb314628 Mon Sep 17 00:00:00 2001 From: Micah Gale Date: Wed, 10 Jan 2024 08:59:12 -0600 Subject: [PATCH] Tried add simple test --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e43cc622..756c1245 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,5 +31,26 @@ jobs: with: name: build path: dist/* + + test: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + + steps: + - uses: actions/checkout@v4 + - name: set up python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - run: pip install --user requirements/dev.txt + - run: python -m pytest --junitxml=test_report.xml + - name: Upload test report + uses: actions/upload-artifact@v3 + with: + name: test + path: test_report.xml +