-
Notifications
You must be signed in to change notification settings - Fork 6
46 lines (37 loc) · 858 Bytes
/
main.yml
File metadata and controls
46 lines (37 loc) · 858 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
40
41
42
43
44
45
46
name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
defaults:
run:
shell: bash -l {0}
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.14"]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@v2
with:
environment-name: py2vega
create-args: >-
python=${{ matrix.python-version }}
pytest
pytest-cov
flake8
- name: Install py2vega
run: pip install -e .
- name: Test flake8
run: flake8 py2vega --ignore=E501,W504,W503
- name: Run pytest
run: pytest --cov-report term-missing --cov=py2vega.main test