File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 98
98
flags : tests
99
99
env_vars : PYTHON
100
100
name : pyston
101
+
102
+ homebrew :
103
+ runs-on : macos-latest
104
+ env :
105
+ FORCE_COLOR : true
106
+ strategy :
107
+ fail-fast : false
108
+ matrix :
109
+ python :
110
+ - ' 3.7'
111
+ - ' 3.8'
112
+ - ' 3.9'
113
+ - ' 3.10'
114
+ - ' 3.11'
115
+
116
+ steps :
117
+ - name : Checkout
118
+ uses : actions/checkout@v2
119
+
120
+ - name : Install homebrew Python
121
+ run : |
122
+ brew reinstall python@${{ matrix.python }} || true
123
+ brew link --overwrite python@${{ matrix.python }}
124
+ echo /usr/local/opt/python@${{ matrix.python }}/libexec/bin/ >> $GITHUB_PATH
125
+
126
+ - run : |
127
+ echo $PATH
128
+ command -v python
129
+ python --version
130
+
131
+ - name : Install
132
+ run : python -m pip --disable-pip-version-check install .[test]
133
+
134
+ - name : Run tests
135
+ run : >-
136
+ python -m pytest --showlocals -vv --cov
137
+ --cov-config setup.cfg
138
+ --cov-report=xml:coverage-homebrew-${{ matrix.python }}.xml
139
+
140
+ - name : Send coverage report
141
+ uses : codecov/codecov-action@v1
142
+ if : ${{ always() }}
143
+ env :
144
+ PYTHON : homebrew-${{ matrix.python }}
145
+ with :
146
+ flags : tests
147
+ env_vars : PYTHON
148
+ name : homebrew-${{ matrix.python }}
You can’t perform that action at this time.
0 commit comments