diff --git a/.github/workflows/ruff.yaml b/.github/workflows/ruff.yaml index b7e2b3e6..d30a5037 100644 --- a/.github/workflows/ruff.yaml +++ b/.github/workflows/ruff.yaml @@ -13,12 +13,12 @@ jobs: isort: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: isort/isort-action@v1 with: requirements-files: "requirements.txt test-requirements.txt" ruff: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: chartboost/ruff-action@v1 \ No newline at end of file diff --git a/.github/workflows/test_and_build.yaml b/.github/workflows/test_and_build.yaml index 1e097b78..391e47bc 100644 --- a/.github/workflows/test_and_build.yaml +++ b/.github/workflows/test_and_build.yaml @@ -45,7 +45,7 @@ jobs: run: | echo `pwd` ls ${{ github.workspace }} - python -m pip install . --no-deps + python -m pip install -e . --no-deps - name: Access rubin-sim-data cache id: cache-rs @@ -70,11 +70,14 @@ jobs: shell: bash -l {0} run: conda list + - name: run black + shell: bash -l {0} + run: black --check + - name: run tests shell: bash -l {0} run: | export RUBIN_SIM_DATA_DIR=~/rubin_sim_data - #pytest -r a -v pytest -r a -v --cov=rubin_sim --cov=tests --cov-report=xml --cov-report=term --cov-branch - name: Upload coverage to codecov