-
Notifications
You must be signed in to change notification settings - Fork 14
37 lines (32 loc) · 846 Bytes
/
ci.yaml
File metadata and controls
37 lines (32 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
get-flavors:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@1.0.1
with:
python-version: '3.10'
poetry-version: '2.1.2'
- id: set-matrix
run: |
FLAVORS=$(poetry -- run nox -s ci:find-available-flavors)
echo matrix=$FLAVORS >> "$GITHUB_OUTPUT"
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
ci:
needs: get-flavors
strategy:
fail-fast: true
matrix:
flavor: ${{fromJson(needs.get-flavors.outputs.matrix)}}
uses: ./.github/workflows/ci_flavor.yaml
secrets: inherit
with:
flavor: ${{ matrix.flavor }}