File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313jobs :
1414 tests :
15- name : ${{ matrix.python }}
15+ name : py ${{ matrix.python }} unit tests
1616 runs-on : ubuntu-latest
1717 strategy :
1818 fail-fast : false
3636 poetry install
3737 poetry run pytest --showlocals
3838
39+ downstream-tests :
40+ name : py${{ matrix.python }} ${{ matrix.downstream }} downstream unit tests
41+ runs-on : ubuntu-latest
42+ strategy :
43+ fail-fast : false
44+ matrix :
45+ python :
46+ - ' 3.12'
47+ - ' 3.11'
48+ downstream :
49+ - scim2-client
50+ - scim2-server
51+ - scim2-cli
52+ steps :
53+ - uses : actions/checkout@v4
54+ - name : Install Poetry
55+ uses : snok/install-poetry@v1
56+ - uses : actions/setup-python@v5
57+ with :
58+ python-version : ${{ matrix.python }}
59+ cache : ' poetry'
60+ - name : Install dependencies
61+ run : |
62+ poetry --version
63+ poetry install
64+ - name : Checkout downstream pyproject
65+ uses : actions/checkout@v4
66+ with :
67+ repository : yaal-coop/${{ matrix.downstream }}
68+ path : ${{ matrix.downstream }}
69+ - name : Run downstream tests
70+ run : |
71+ cd ${{ matrix.downstream }}
72+ poetry install --with dev
73+ poetry run pip install --upgrade --force ..
74+ - name : Run downstream tests
75+ run : |
76+ cd ${{ matrix.downstream }}
77+ poetry run pytest --showlocals
78+
3979 minversions :
4080 name : minimum dependency versions
4181 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments