Skip to content

Commit

Permalink
Merge pull request #940 from akrherz/ci
Browse files Browse the repository at this point in the history
Review CI
  • Loading branch information
akrherz authored Jul 25, 2024
2 parents 0f95d97 + b3d11dc commit 6b0888d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
defaults:
run:
# Ensures environment gets sourced right
shell: bash -l {0}
shell: bash -l -e {0}
name: Python (${{ matrix.PYTHON_VERSION }})
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -46,7 +46,6 @@ jobs:

- name: Setup Postgres
run: |
set -e
git clone --depth 1 https://github.com/akrherz/iem-database.git database
git clone --depth 1 https://github.com/akrherz/ci_tooling.git .ci_tooling
. .ci_tooling/postgres.sh
Expand All @@ -61,12 +60,10 @@ jobs:
- name: Install pyiem
run: |
set -e
python -m pip install . --upgrade --no-deps
- name: Populate Data
run: |
set -e
sudo ln -s /home/runner/micromamba /opt/miniconda3
python util/create_transformed_parquet.py --justgeodf
python util/insert_testing_data.py
Expand All @@ -75,7 +72,6 @@ jobs:
- name: Run Tests
run: |
set -e
# get pqinsert available as a dummy command
export PATH=$PATH:$(pwd)/tests/bin
# xdist and coverage seems to necessitate this
Expand All @@ -101,7 +97,6 @@ jobs:
- name: Build Docs
if: ${{ matrix.PYTHON_VERSION == '3.12' }}
run: |
set -e
cd docs
make html
touch build/html/.nojekyll
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ci:
autoupdate_schedule: quarterly
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.5.4"
rev: "v0.5.5"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down

0 comments on commit 6b0888d

Please sign in to comment.