From 49ee03f87fba1a7ff958fe126ca5d01a2dc2f568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Wed, 6 Mar 2024 09:05:22 +0100 Subject: [PATCH] move off to GitHub Actions --- .github/workflows/ci.yml | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..00e1a4f4 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,42 @@ +name: build-satella +run-name: ${{ github.actor }} +on: [ push ] +jobs: + build-wheel: + runs-on: "ubuntu-latest" + strategy: + matrix: + python-version: [ "3.6", "3.7", "3.8", "pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12" ] + steps: + - uses: actions/checkout@4 + - uses: actions/setup-python@4 + with: + python-version: '${{ matrix.python-version }}' + cache: 'pip' + - name: Install everything + run: pip install -e .[test,dev,extras] + with: + python-version: '${{ matrix.python-version }}' + cache: 'pip' + paths: + - 'dist/*' + tests: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [ "3.6", "3.7", "3.8", "pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12" ] + steps: + - uses: actions/checkout@4 + - uses: actions/setup-python@4 + with: + python-version: '${{ matrix.python-version }}' + cache: 'pip' + - name: Test everything + run: pytest -n 8 -vv --cov=satella + with: + python-version: '${{ matrix.python-version }}' + cache: 'pip' + tags: + - '!*' # Do not execute on tags + paths: + - '!*.MD' -- GitLab