File tree 1 file changed +17
-3
lines changed
1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 27
27
with :
28
28
python-version : ${{ matrix.python-version }}
29
29
- name : Install dependencies
30
+ if : matrix.os == 'ubuntu-latest'
30
31
run : |
31
- pdm install -dG test
32
- - name : Run Tests
32
+ pdm install -dG test -L pdm_linux.lock
33
+ if : matrix.os == 'windows-latest'
34
+ run : |
35
+ pdm install -dG test -L pdm_windows.lock
36
+ if : matrix.os == 'macOS-latest'
37
+ run : |
38
+ pdm install -dG test -L pdm_macos.lock
39
+ - name : Run Tests
33
40
run : |
34
41
pdm run pytest
35
42
coverage :
49
56
with :
50
57
python-version : ${{ matrix.python-version }}
51
58
- name : Install dependencies
59
+ if : matrix.os == 'ubuntu-latest'
60
+ run : |
61
+ pdm install -dG test -L pdm_linux.lock
62
+ if : matrix.os == 'windows-latest'
63
+ run : |
64
+ pdm install -dG test -L pdm_windows.lock
65
+ if : matrix.os == 'macOS-latest'
52
66
run : |
53
- pdm install -dG test
67
+ pdm install -dG test -L pdm_macos.lock
54
68
# See: https://remarkablemark.org/blog/2023/10/14/setup-codeclimate-with-github-actions/
55
69
- uses : remarkablemark/setup-codeclimate@v2
56
70
- name : Run Tests and report to CodeClimate
You can’t perform that action at this time.
0 commit comments