From 3c176bcde84b61d591a2beec0d8039db86a0b39b Mon Sep 17 00:00:00 2001 From: pthierry Date: Wed, 10 Jul 2024 16:46:20 +0200 Subject: [PATCH] ci: adding reusable workflows --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..e20c7fe --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +on: + push: + pull_request: + branches: + - main + +jobs: + runs-on: ubuntu-latest + ut: + strategy: + matrix: + version: ['3.10', '3.11', '3.12'] + uses: outpost-os/pipeline-python/.github/workflows/unittest.yml@v1 + with: + python-version: ${{ matrix.version }} + doc: + uses: outpost-os/pipeline-python/.github/workflows/doc.yml@v1 + with: + python-version: '3.12' + lint: + needs: [ ut, doc ] + uses: outpost-os/pipeline-python/.github/workflows/lint.yml@v1 + with: + python-version: '3.12'