From da655a3c5395a09f8310902bd4fc806c39efe947 Mon Sep 17 00:00:00 2001 From: tgalvin Date: Tue, 10 Sep 2024 20:21:12 +0800 Subject: [PATCH] reordered build --- .github/workflows/python-lint-test.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-lint-test.yml b/.github/workflows/python-lint-test.yml index 45c7763b..c9bf2392 100644 --- a/.github/workflows/python-lint-test.yml +++ b/.github/workflows/python-lint-test.yml @@ -18,18 +18,17 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install casacore and boost - run: | - sudo apt update -y - sudo apt install -y build-essential liblapack-dev libboost-python-dev python3-dev wcslib-dev casacore-dev - name: Set up Python 3.12 uses: actions/setup-python@v3 with: python-version: "3.12" + - name: Install casacore and boost + run: | + sudo apt install -y build-essential liblapack-dev libboost-python-dev python3-dev wcslib-dev casacore-dev - name: Install dependencies run: | python -m pip install --upgrade pip uv - PIP_NO_BINARY="python-casacore" pip install pytest pytest-cov pre-commit black mypy . + uv pip install --system pytest pytest-cov pre-commit black mypy . - name: Lint with pre-commit run: | pre-commit run --all-files