2222 CACHED_BUILD_PATHS : |
2323 ${{ github.workspace }}/dist-serverless
2424jobs :
25- test-flags-latest :
26- name : Flags (latest)
27- timeout-minutes : 30
28- runs-on : ${{ matrix.os }}
29- strategy :
30- fail-fast : false
31- matrix :
32- python-version : ["3.8","3.12","3.13"]
33- os : [ubuntu-22.04]
34- steps :
35- 36- - uses : actions/setup-python@v5
37- with :
38- python-version : ${{ matrix.python-version }}
39- allow-prereleases : true
40- - name : Setup Test Env
41- run : |
42- pip install "coverage[toml]" tox
43- - name : Erase coverage
44- run : |
45- coverage erase
46- - name : Test launchdarkly latest
47- run : |
48- set -x # print commands that are executed
49- ./scripts/runtox.sh "py${{ matrix.python-version }}-launchdarkly-latest"
50- - name : Test openfeature latest
51- run : |
52- set -x # print commands that are executed
53- ./scripts/runtox.sh "py${{ matrix.python-version }}-openfeature-latest"
54- - name : Test unleash latest
55- run : |
56- set -x # print commands that are executed
57- ./scripts/runtox.sh "py${{ matrix.python-version }}-unleash-latest"
58- - name : Generate coverage XML
59- if : ${{ !cancelled() }}
60- run : |
61- coverage combine .coverage-sentry-*
62- coverage xml
63- - name : Upload coverage to Codecov
64- if : ${{ !cancelled() }}
65- 66- with :
67- token : ${{ secrets.CODECOV_TOKEN }}
68- files : coverage.xml
69- # make sure no plugins alter our coverage reports
70- plugin : noop
71- verbose : true
72- - name : Upload test results to Codecov
73- if : ${{ !cancelled() }}
74- uses : codecov/test-results-action@v1
75- with :
76- token : ${{ secrets.CODECOV_TOKEN }}
77- files : .junitxml
78- verbose : true
7925 test-flags-pinned :
8026 name : Flags (pinned)
8127 timeout-minutes : 30
8228 runs-on : ${{ matrix.os }}
8329 strategy :
8430 fail-fast : false
8531 matrix :
86- python-version : ["3.8 ","3.12","3.13"]
32+ python-version : ["3.7","3.8","3.9 ","3.12","3.13"]
8733 os : [ubuntu-22.04]
8834 steps :
8935@@ -105,6 +51,10 @@ jobs:
10551 run : |
10652 set -x # print commands that are executed
10753 ./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-openfeature"
54+ - name : Test statsig pinned
55+ run : |
56+ set -x # print commands that are executed
57+ ./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-statsig"
10858 - name : Test unleash pinned
10959 run : |
11060 set -x # print commands that are executed
11666 coverage xml
11767 - name : Upload coverage to Codecov
11868 if : ${{ !cancelled() }}
119- uses : codecov/codecov-action@v5.1.2
69+ uses : codecov/codecov-action@v5.3.1
12070 with :
12171 token : ${{ secrets.CODECOV_TOKEN }}
12272 files : coverage.xml
0 commit comments