@@ -40,18 +40,16 @@ jobs:
4040 - uses : actions/checkout@v4
4141 - name : install Just
4242 uses : taiki-e/install-action@just
43+ - name : Install uv
44+ uses : astral-sh/setup-uv@v3
45+ with :
46+ enable-cache : true
4347 - name : Set up Python
4448 uses : actions/setup-python@v5
4549 with :
4650 python-version : ${{ env.PYTHON_VERSION }}
47- cache : " pip"
4851 - name : Install dependencies
49- run : |
50- pip install -U pip
51- pip install -r requirements-dev.txt
52- pip install -e .[all]
53- maturin build --out dist
54- pip install --no-index --find-links=dist/ prelude-parser
52+ run : just install
5553 - name : mypy check
5654 run : just mypy
5755 test :
@@ -63,20 +61,20 @@ jobs:
6361 runs-on : ${{ matrix.os }}
6462 steps :
6563 - uses : actions/checkout@v4
64+ - name : install Just
65+ uses : taiki-e/install-action@just
66+ - name : Install uv
67+ uses : astral-sh/setup-uv@v3
68+ with :
69+ enable-cache : true
6670 - name : Set up Python ${{ matrix.python-version }}
6771 uses : actions/setup-python@v5
6872 with :
6973 python-version : ${{ matrix.python-version }}
70- cache : " pip"
7174 - name : Install dependencies
72- run : |
73- pip install -U pip
74- pip install -r requirements-dev.txt
75- pip install -e .[all]
76- maturin build --out dist
77- pip install --no-index --find-links=dist/ prelude-parser
75+ run : just install
7876 - name : Run tests
79- run : pytest --cov=prelude_parser --cov-report=xml
77+ run : uv run pytest --cov=prelude_parser --cov-report=xml
8078 - name : Upload coverage
8179 uses : codecov/codecov-action@v4
8280 with :
0 commit comments