test
This commit is contained in:
22
.github/workflows/test.yml
vendored
22
.github/workflows/test.yml
vendored
@@ -4,7 +4,7 @@ on: [push, pull_request]
|
|||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
test-ubuntu-python-newest:
|
test-ubuntu-python-newest:
|
||||||
name: Test Ubuntu (latest Python:newest)
|
name: Test Ubuntu:latest Python:newest
|
||||||
needs: lint
|
needs: lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -18,21 +18,19 @@ jobs:
|
|||||||
run: tox -c pyproject.toml -e py
|
run: tox -c pyproject.toml -e py
|
||||||
|
|
||||||
test-python-32bit:
|
test-python-32bit:
|
||||||
name: Test Ubuntu/Python (32-bit)
|
name: Test Ubuntu:latest Python:32-bit
|
||||||
needs: [lint, test-ubuntu-python-newest]
|
needs: [lint, test-ubuntu-python-newest]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: i386/python:3.11
|
image: i386/python:3.11
|
||||||
volumes:
|
|
||||||
- /tmp:/__e/node20_ubuntu
|
|
||||||
steps:
|
steps:
|
||||||
- name: Fix checkout and upload-artifact
|
- name: Fix checkout and upload-artifact
|
||||||
run: |
|
run: |
|
||||||
apk add nodejs npm
|
apk add nodejs npm
|
||||||
mkdir -p /__e/node20_ubuntu/bin
|
mkdir -p /__e/node20/bin
|
||||||
ln -sf $(which node) /__e/node20_ubuntu/bin/node
|
ln -sf $(which node) /__e/node20/bin/node
|
||||||
ln -sf $(which npm) /__e/node20_ubuntu/bin/npm
|
ln -sf $(which npm) /__e/node20/bin/npm
|
||||||
ln -sf $(which npx) /__e/node20_ubuntu/bin/npx
|
ln -sf $(which npx) /__e/node20/bin/npx
|
||||||
- name: Update system
|
- name: Update system
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
@@ -46,7 +44,7 @@ jobs:
|
|||||||
tox -c /__w/Radicale/Radicale/pyproject.toml -e py
|
tox -c /__w/Radicale/Radicale/pyproject.toml -e py
|
||||||
|
|
||||||
test-ubuntu-python-oldest:
|
test-ubuntu-python-oldest:
|
||||||
name: Test Ubuntu (latest Python:oldest)
|
name: Test Ubuntu:latest Python:oldest
|
||||||
needs: [lint, test-ubuntu-python-newest, test-python-32bit]
|
needs: [lint, test-ubuntu-python-newest, test-python-32bit]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -60,7 +58,7 @@ jobs:
|
|||||||
run: tox -c pyproject.toml -e py
|
run: tox -c pyproject.toml -e py
|
||||||
|
|
||||||
test-otheros-python-newest:
|
test-otheros-python-newest:
|
||||||
name: Test MacOS/Windows (latest Python:newest)
|
name: Test MacOS/Windows:latest Python:newest
|
||||||
needs: [lint, test-ubuntu-python-newest, test-python-32bit]
|
needs: [lint, test-ubuntu-python-newest, test-python-32bit]
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -78,7 +76,7 @@ jobs:
|
|||||||
run: tox -c pyproject.toml -e py
|
run: tox -c pyproject.toml -e py
|
||||||
|
|
||||||
test-otheros-python-oldest:
|
test-otheros-python-oldest:
|
||||||
name: Test MacOS/Windows (latest Python:oldest)
|
name: Test MacOS/Windows:latest Python:oldest
|
||||||
needs: [lint, test-ubuntu-python-oldest, test-otheros-python-newest]
|
needs: [lint, test-ubuntu-python-oldest, test-otheros-python-newest]
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -96,7 +94,7 @@ jobs:
|
|||||||
run: tox -c pyproject.toml -e py
|
run: tox -c pyproject.toml -e py
|
||||||
|
|
||||||
test-python-versions:
|
test-python-versions:
|
||||||
name: Test Ubuntu/MacOS/Windows (latest Python:Matrix)
|
name: Test Ubuntu/MacOS/Windows:latest Python:Matrix
|
||||||
needs: [lint, test-otheros-python-oldest, test-otheros-python-newest, test-ubuntu-python-oldest, test-ubuntu-python-newest]
|
needs: [lint, test-otheros-python-oldest, test-otheros-python-newest, test-ubuntu-python-oldest, test-ubuntu-python-newest]
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
Reference in New Issue
Block a user