-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 879 Bytes
/
Copy pathtests.yaml
File metadata and controls
39 lines (35 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: tests
on:
- push
- pull_request
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v2
with:
environment-file: environment.yml
init-shell: >-
bash
cache-environment: false
create-args: python=${{ matrix.python-version }}
post-cleanup: 'all'
- name: Install xcengine
shell: bash -el {0}
run: |
python --version
pip install --no-deps --editable .
- name: Run pytest
shell: bash -el {0}
run: |
pytest --cov=xcengine --cov-branch --cov-report=xml
- uses: codecov/codecov-action@v5
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}