diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 20cfa452..5f924c52 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -15,16 +15,14 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + - name: Install uv + uses: astral-sh/setup-uv@v4 with: + version: "0.5.7" python-version: ${{ matrix.python-version }} - - name: Install python dependencies - run: | - source ~/.zshrc - poetry env use ${{ matrix.python-version }} - poetry install --with dev --extras all + - name: Install dependencies + run: uv sync --all-extras - name: Run test suite env: @@ -32,7 +30,7 @@ jobs: PYTEST_ADDOPTS: "--durations=0" run: | source ~/.zshrc - poetry run pytest --run-extra-mlips --cov janus_core --cov-append . + uv run pytest --run-extra-mlips --cov janus_core --cov-append . - name: Report coverage to Coveralls uses: coverallsapp/github-action@v2