File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Setup Python Environment
2+ description : Checkout, set up Python, and install dependencies
3+
4+ inputs :
5+ python-version :
6+ required : true
7+
8+ runs :
9+ using : composite
10+ steps :
11+ - uses : actions/checkout@v5
12+ - uses : actions/setup-python@v6
13+ with :
14+ python-version : ${{ inputs.python-version }}
15+ - run : pip install -e ".[dev]"
16+ shell : bash
Original file line number Diff line number Diff line change 88jobs :
99 test-full :
1010 name : Full Integration Tests (Python ${{ matrix.python-version }})
11- if : github.event_name == 'workflow_dispatch' || github.event.label.name == 'run -full-tests'
11+ if : github.event_name == 'workflow_dispatch' || github.event.label.name == 'requires -full-tests'
1212 runs-on : ubuntu-latest
1313 strategy :
1414 matrix :
2424 FIRECREST_URL : ${{ secrets.FIRECREST_URL }}
2525 FIRECREST_USERNAME : ${{ secrets.FIRECREST_USERNAME }}
2626 steps :
27- - uses : actions/checkout@v5
28- - uses : actions/setup-python@v6
27+ - uses : ./.github/actions/setup
2928 with :
3029 python-version : ${{ matrix.python-version }}
31- - run : pip install -e ".[dev]"
3230 - run : pytest --cov --cov-report=term-missing -n auto -m full
Original file line number Diff line number Diff line change 1- name : CI
1+ name : Lightweight CI
22
33on :
44 push :
1414 matrix :
1515 python-version : ["3.12"]
1616 steps :
17- - uses : actions/checkout@v5
18- - uses : actions/setup-python@v6
17+ - uses : ./.github/actions/setup
1918 with :
2019 python-version : ${{ matrix.python-version }}
21- - run : pip install -e ".[dev]"
2220 - run : ruff check .
2321 - run : ruff format --check .
2422
2927 matrix :
3028 python-version : ["3.12"]
3129 steps :
32- - uses : actions/checkout@v5
33- - uses : actions/setup-python@v6
30+ - uses : ./.github/actions/setup
3431 with :
3532 python-version : ${{ matrix.python-version }}
36- - run : pip install -e ".[dev]"
3733 - run : mypy
3834
3935 test :
5349 FIRECREST_URL : ${{ secrets.FIRECREST_URL }}
5450 FIRECREST_USERNAME : ${{ secrets.FIRECREST_USERNAME }}
5551 steps :
56- - uses : actions/checkout@v5
57- - uses : actions/setup-python@v6
52+ - uses : ./.github/actions/setup
5853 with :
5954 python-version : ${{ matrix.python-version }}
60- - run : pip install -e ".[dev]"
6155 - run : pytest --cov --cov-report=term-missing -n auto -m lightweight
You can’t perform that action at this time.
0 commit comments