Skip to content

Commit

Permalink
Merge pull request #37 from ReubenFrankel/fix/ci
Browse files Browse the repository at this point in the history
ci: Fix broken workflow jobs
  • Loading branch information
edgarrmondragon authored Dec 11, 2024
2 parents b84a1e0 + b453446 commit cc666b8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: Install dependencies
run: poetry install
run: |
poetry env use ${{ matrix.python-version }}
poetry install
- name: Run pre-commit checks
uses: pre-commit/[email protected]
smoke-test:
Expand All @@ -51,10 +53,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install meltano
run: pipx install meltano
run: pipx install --python ${{ matrix.python-version }} meltano
- name: Meltano install
run: meltano install
- name: Smoke test
Expand Down Expand Up @@ -83,7 +87,9 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: Install dependencies
run: poetry install
run: |
poetry env use ${{ matrix.python-version }}
poetry install
- name: Start MongoDB
uses: supercharge/[email protected]
with:
Expand Down
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ repos:
rev: 1.9.0
hooks:
- id: yamlfix
additional_dependencies:
- maison<2 # can be removed with rev 1.17.0 and above (minimum required Python 3.9)
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.28.0
hooks:
Expand Down

0 comments on commit cc666b8

Please sign in to comment.