Skip to content

Commit 9356ab6

Browse files
committed
debug
1 parent 65be24f commit 9356ab6

1 file changed

Lines changed: 95 additions & 95 deletions

File tree

.github/workflows/python-tests.yml

Lines changed: 95 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -19,98 +19,98 @@ jobs:
1919
gha-download-artifact: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16"
2020
gha-upload-artifact: "actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b"
2121

22-
run-tests-and-coverage:
23-
name: "Run pytest with coverage."
24-
needs: ["settings"]
25-
runs-on: "${{ matrix.os }}"
26-
strategy:
27-
fail-fast: false
28-
matrix:
29-
os:
30-
- "macos-latest"
31-
- "windows-latest"
32-
- "ubuntu-latest"
33-
python-version:
34-
- "3.9"
35-
- "3.10"
36-
- "3.11"
37-
- "3.12"
38-
- "3.13"
39-
- "3.14"
40-
41-
steps:
42-
- name: "Repo checkout"
43-
uses: "${{ needs.settings.outputs.gha-checkout }}"
44-
45-
- name: "Set up Python ${{ matrix.python-version }}"
46-
uses: "${{ needs.settings.outputs.gha-setup-python }}"
47-
with:
48-
python-version: "${{ matrix.python-version }}"
49-
allow-prereleases: true
50-
51-
- name: "Install nox"
52-
run: |
53-
python -m pip install --upgrade nox
54-
55-
- name: "Run tests and coverage via nox"
56-
run: |
57-
nox --session test -- partial-coverage
58-
59-
- name: "Save coverage artifact"
60-
uses: "${{ needs.settings.outputs.gha-upload-artifact }}"
61-
with:
62-
name: "coverage-artifact-${{ matrix.os}}-${{ matrix.python-version}}"
63-
path: ".coverage.*"
64-
retention-days: 1
65-
include-hidden-files: true
66-
67-
coverage-compile:
68-
name: "Compile coverage reports."
69-
needs: ["settings", "run-tests-and-coverage"]
70-
runs-on: "ubuntu-latest"
71-
steps:
72-
- name: "Repo checkout"
73-
uses: "${{ needs.settings.outputs.gha-checkout }}"
74-
75-
- name: "Set up Python"
76-
uses: "${{ needs.settings.outputs.gha-setup-python }}"
77-
with:
78-
python-version: "${{ needs.settings.outputs.default-python-version }}"
79-
80-
- name: "Install nox"
81-
run: |
82-
python -m pip install --upgrade nox
83-
84-
- name: "Download coverage artifacts"
85-
uses: "${{ needs.settings.outputs.gha-download-artifact }}"
86-
with:
87-
pattern: "coverage-artifact-*"
88-
merge-multiple: true
89-
90-
- name: "Compile coverage data, print report"
91-
run: |
92-
nox --session coverage_combine
93-
export TOTAL=$(python -c "import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])")
94-
echo "TOTAL=$TOTAL" >> $GITHUB_ENV
95-
echo "### Total coverage: ${TOTAL}%" >> $GITHUB_STEP_SUMMARY
96-
97-
linting:
98-
name: "Check linting and formatting requirements"
99-
needs: ["settings"]
100-
runs-on: "ubuntu-latest"
101-
steps:
102-
- name: "Repo checkout"
103-
uses: "${{ needs.settings.outputs.gha-checkout }}"
104-
105-
- name: "Set up Python"
106-
uses: "${{ needs.settings.outputs.gha-setup-python }}"
107-
with:
108-
python-version: "${{ needs.settings.outputs.default-python-version }}"
109-
110-
- name: "Install nox"
111-
run: |
112-
python -m pip install --upgrade nox
113-
114-
- name: "Run formatters and linters"
115-
run: |
116-
nox --session lint
22+
# run-tests-and-coverage:
23+
# name: "Run pytest with coverage."
24+
# needs: ["settings"]
25+
# runs-on: "${{ matrix.os }}"
26+
# strategy:
27+
# fail-fast: false
28+
# matrix:
29+
# os:
30+
# - "macos-latest"
31+
# - "windows-latest"
32+
# - "ubuntu-latest"
33+
# python-version:
34+
# - "3.9"
35+
# - "3.10"
36+
# - "3.11"
37+
# - "3.12"
38+
# - "3.13"
39+
# - "3.14"
40+
41+
# steps:
42+
# - name: "Repo checkout"
43+
# uses: "${{ needs.settings.outputs.gha-checkout }}"
44+
45+
# - name: "Set up Python ${{ matrix.python-version }}"
46+
# uses: "${{ needs.settings.outputs.gha-setup-python }}"
47+
# with:
48+
# python-version: "${{ matrix.python-version }}"
49+
# allow-prereleases: true
50+
51+
# - name: "Install nox"
52+
# run: |
53+
# python -m pip install --upgrade nox
54+
55+
# - name: "Run tests and coverage via nox"
56+
# run: |
57+
# nox --session test -- partial-coverage
58+
59+
# - name: "Save coverage artifact"
60+
# uses: "${{ needs.settings.outputs.gha-upload-artifact }}"
61+
# with:
62+
# name: "coverage-artifact-${{ matrix.os}}-${{ matrix.python-version}}"
63+
# path: ".coverage.*"
64+
# retention-days: 1
65+
# include-hidden-files: true
66+
67+
# coverage-compile:
68+
# name: "Compile coverage reports."
69+
# needs: ["settings", "run-tests-and-coverage"]
70+
# runs-on: "ubuntu-latest"
71+
# steps:
72+
# - name: "Repo checkout"
73+
# uses: "${{ needs.settings.outputs.gha-checkout }}"
74+
75+
# - name: "Set up Python"
76+
# uses: "${{ needs.settings.outputs.gha-setup-python }}"
77+
# with:
78+
# python-version: "${{ needs.settings.outputs.default-python-version }}"
79+
80+
# - name: "Install nox"
81+
# run: |
82+
# python -m pip install --upgrade nox
83+
84+
# - name: "Download coverage artifacts"
85+
# uses: "${{ needs.settings.outputs.gha-download-artifact }}"
86+
# with:
87+
# pattern: "coverage-artifact-*"
88+
# merge-multiple: true
89+
90+
# - name: "Compile coverage data, print report"
91+
# run: |
92+
# nox --session coverage_combine
93+
# export TOTAL=$(python -c "import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])")
94+
# echo "TOTAL=$TOTAL" >> $GITHUB_ENV
95+
# echo "### Total coverage: ${TOTAL}%" >> $GITHUB_STEP_SUMMARY
96+
97+
# linting:
98+
# name: "Check linting and formatting requirements"
99+
# needs: ["settings"]
100+
# runs-on: "ubuntu-latest"
101+
# steps:
102+
# - name: "Repo checkout"
103+
# uses: "${{ needs.settings.outputs.gha-checkout }}"
104+
105+
# - name: "Set up Python"
106+
# uses: "${{ needs.settings.outputs.gha-setup-python }}"
107+
# with:
108+
# python-version: "${{ needs.settings.outputs.default-python-version }}"
109+
110+
# - name: "Install nox"
111+
# run: |
112+
# python -m pip install --upgrade nox
113+
114+
# - name: "Run formatters and linters"
115+
# run: |
116+
# nox --session lint

0 commit comments

Comments
 (0)