|
42 | 42 | uv pip install -e ".[dev]" |
43 | 43 | - name: Test |
44 | 44 | run: uv run pytest -n auto |
45 | | - |
46 | | - |
47 | | -# name: Test pre-commit, code and docs |
48 | | - |
49 | | -# on: |
50 | | -# pull_request: |
51 | | -# push: |
52 | | -# branches: |
53 | | -# - main |
54 | | - |
55 | | -# jobs: |
56 | | -# pre-commit: |
57 | | -# runs-on: ubuntu-latest |
58 | | -# steps: |
59 | | -# - uses: actions/checkout@v4 |
60 | | -# - uses: actions/setup-python@v5 |
61 | | -# - uses: pre-commit/action@v3.0.1 |
62 | | -# test_code: |
63 | | -# needs: [pre-commit] |
64 | | -# runs-on: [ubuntu-latest] |
65 | | -# strategy: |
66 | | -# max-parallel: 12 |
67 | | -# matrix: |
68 | | -# python-version: ["3.10"] |
69 | | -# os: [ubuntu-latest] |
70 | | -# steps: |
71 | | -# - uses: actions/checkout@v4 |
72 | | -# - name: Set up Python ${{ matrix.python-version }} |
73 | | -# uses: actions/setup-python@v5 |
74 | | -# with: |
75 | | -# python-version: ${{ matrix.python-version }} |
76 | | -# cache: "pip" |
77 | | -# cache-dependency-path: pyproject.toml |
78 | | -# - name: Install dependencies |
79 | | -# run: | |
80 | | -# make gmsh-ubuntu |
81 | | -# uv pip install -e .[tests] |
82 | | -# - name: Test with pytest |
83 | | -# run: pytest |
84 | | -# # test_code_coverage: |
85 | | -# # runs-on: ubuntu-latest |
86 | | -# # needs: [pre-commit] |
87 | | -# # steps: |
88 | | -# # - uses: actions/checkout@v4 |
89 | | -# # - name: Set up Python |
90 | | -# # uses: actions/setup-python@v5 |
91 | | -# # with: |
92 | | -# # python-version: '3.10' |
93 | | -# # - name: Install dependencies |
94 | | -# # run: | |
95 | | -# # pip install -e .[tests] |
96 | | -# # - name: Test with pytest |
97 | | -# # run: | |
98 | | -# # pytest --cov={{ cookiecutter.package_name }} {{ cookiecutter.package_name }} |
99 | | -# # - name: Upload coverage to Codecov |
100 | | -# # uses: codecov/codecov-action@v3 |
101 | | -# # with: |
102 | | -# # token: ${{ secrets.CODECOV_TOKEN }} |
103 | | -# # fail_ci_if_error: false |
104 | | -# test_docs: |
105 | | -# needs: [pre-commit] |
106 | | -# runs-on: ${{ matrix.os }} |
107 | | -# strategy: |
108 | | -# max-parallel: 12 |
109 | | -# matrix: |
110 | | -# python-version: ['3.10'] |
111 | | -# os: [ubuntu-latest] |
112 | | - |
113 | | -# steps: |
114 | | -# - uses: actions/checkout@v4 |
115 | | -# - uses: conda-incubator/setup-miniconda@v3 |
116 | | -# with: |
117 | | -# python-version: '3.10' |
118 | | -# mamba-version: "*" |
119 | | -# channels: conda-forge,defaults |
120 | | -# channel-priority: true |
121 | | -# activate-environment: anaconda-client-env |
122 | | -# - name: Add conda to system path |
123 | | -# run: | |
124 | | -# echo $CONDA/bin >> $GITHUB_PATH |
125 | | -# - name: Install dependencies |
126 | | -# run: | |
127 | | -# make dev |
128 | | -# - name: Test documentation |
129 | | -# run: | |
130 | | -# make docs |
0 commit comments