File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Cross-platform Compatibility Tests
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ os-tests :
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ os : [ubuntu-latest, windows-latest, macos-latest]
16+ python-version : ["3.11"]
17+
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+
22+ - name : Set up Python ${{ matrix.python-version }} on ${{matrix.os}}
23+ uses : actions/setup-python@v5
24+ with :
25+ python-version : ${{ matrix.python-version }}
26+
27+ - name : Install Poetry
28+ shell : bash
29+ run : |
30+ curl -sSL https://install.python-poetry.org | python -
31+ echo "$HOME/.local/bin" >> $GITHUB_PATH
32+
33+ - name : Configure Poetry and install dependencies
34+ shell : bash
35+ run : |
36+ poetry config virtualenvs.create false
37+ poetry install --no-interaction --with dev
38+
39+ - name : Run tests
40+ run : poetry run pytest
You can’t perform that action at this time.
0 commit comments