Skip to content

Commit

Permalink
trim github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Payne committed Sep 20, 2023
1 parent 95f1885 commit 96180c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 67 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/pre-comit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,5 @@ jobs:
- name: Install dependencies
run: poetry install

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.16.0'

- uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Install pnpm
run: npm install -g pnpm

- name: Install UI dependencies
run: cd ui && pnpm install

- name: pre-commit
run: poetry run pre-commit run --show-diff-on-failure --color=always --all-files
49 changes: 0 additions & 49 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,55 +6,6 @@ name: Test python-singerlake
on: [push]

jobs:
linting:

runs-on: ubuntu-latest
strategy:
matrix:
# Only lint using the primary version used for dev
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry==1.2.*
- name: Install dependencies
run: |
poetry install --with dev
- name: Run lint command from tox.ini
run: |
poetry run tox -e lint
mypy:

runs-on: ubuntu-latest
strategy:
matrix:
# Only lint using the primary version used for dev
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry==1.2.*
- name: Install dependencies
run: |
poetry install --with dev
- name: Run type command from tox.ini
run: |
poetry run tox -e type

pytest:

Expand Down

0 comments on commit 96180c9

Please sign in to comment.