From 8f60c382367ac7c28984e89d4da03729477ce2ea Mon Sep 17 00:00:00 2001 From: Jean-Marc Fontaine Date: Sat, 6 Apr 2024 19:45:21 +0000 Subject: [PATCH] Add QA GitHub Actions workflow --- .github/workflows/qa.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/qa.yml diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml new file mode 100644 index 0000000..3221986 --- /dev/null +++ b/.github/workflows/qa.yml @@ -0,0 +1,20 @@ +name: QA +on: push +jobs: + tests: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: ["macos-latest", "ubuntu-latest", "windows-latest"] + python-version: ["3.10", "3.11", "3.12"] + name: Python ${{ matrix.python-version }} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + architecture: x64 + python-version: ${{ matrix.python-version }} + - run: pipx install nox poetry + - run: pipx inject nox nox-poetry + - run: pipx inject poetry poetry-plugin-export + - run: nox -s tests-${{ matrix.python-version }}