From 52eca2436165296e12a899158c4d72a1b8f64d8a Mon Sep 17 00:00:00 2001 From: djfrancesco Date: Mon, 26 Feb 2024 22:05:05 +0100 Subject: [PATCH] test workflow --- .github/workflows/tests.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..13cbf71 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,28 @@ +name: ci-test + +on: + push: + branches: + - release + +jobs: + test: + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + python-version: ["3.11"] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements-dev.txt + pip install . + - name: Testing + run: | + python -m pytest tests \ No newline at end of file