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+ ---
2+ name : test jsnac
3+ on : [push, pull_request]
4+
5+ jobs :
6+ linters :
7+ strategy :
8+ matrix :
9+ python-version : [ '3.10' ]
10+ platform : [ubuntu-latest]
11+ runs-on : ${{ matrix.platform }}
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : Setup python
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : ${{ matrix.python-version }}
19+ architecture : x64
20+
21+ - name : Install Poetry
22+ uses : snok/install-poetry@v1
23+ with :
24+ version : 1.9.0
25+ virtualenvs-create : true
26+ virtualenvs-in-project : true
27+
28+ - name : Cache Poetry virtualenv
29+ uses : actions/cache@v4
30+ id : cached-poetry-dependencies
31+ with :
32+ path : .venv
33+ key : venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
34+
35+ - name : Install Dependencies
36+ run : poetry install
37+ if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
38+
39+ - name : Run tox
40+ run : tox
You can’t perform that action at this time.
0 commit comments