File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 - name : Upload Coverage to Codecov
9090 uses : codecov/codecov-action@v3
9191
92+
93+ pytest-editable :
94+ name : Pytest editable install ${{ matrix.config.name }}
95+ runs-on : ${{ matrix.config.os }}
96+ strategy :
97+ fail-fast : false
98+ matrix :
99+ python-version : ["3.9"]
100+ config :
101+ - {
102+ name : " Linux" ,
103+ os : ubuntu-latest
104+ }
105+ # - {
106+ # name: "MacOSX",
107+ # os: macos-latest
108+ # }
109+ # - {
110+ # name: "Windows",
111+ # os: windows-latest
112+ # }
113+
114+ defaults :
115+ run :
116+ shell : bash
117+
118+ steps :
119+ - name : Checkout
120+ uses : actions/checkout@v4
121+
122+ - name : Set up Python ${{ matrix.python-version }}
123+ uses : actions/setup-python@v5
124+ with :
125+ python-version : ${{ matrix.python-version }}
126+
127+ - name : Checkout trame-client fork for testing
128+ uses : actions/checkout@v4
129+ with :
130+ repository : jcapriot/trame-client
131+ ref : Pep420
132+ path : local_trame_client
133+
134+ - name : Install trame-client fork for testing
135+ run : |
136+ cd local_trame_client
137+ cd vue2-app
138+ npm ci
139+ npm run build
140+ cd ..
141+ cd vue3-app
142+ npm ci
143+ npm run build
144+ cd ..
145+ pip install .
146+
147+ - name : Install and Run Tests
148+ run : |
149+ pip install -e ".[dev]"
150+ pip install -r tests/requirements.txt
151+ # Run the tests with coverage so we get a coverage report too
152+ pip install coverage
153+ coverage run --source . -m pytest . --ignore=local_trame_client
154+ # Print the coverage report
155+ coverage report -m
156+
157+ - name : Upload Coverage to Codecov
158+ uses : codecov/codecov-action@v3
92159 check-and-lint :
93160 runs-on : ubuntu-latest
94161 name : Check and Lint
You can’t perform that action at this time.
0 commit comments