Skip to content

Commit

Permalink
Merge pull request #1 from leifdenby/feat/github-cicd
Browse files Browse the repository at this point in the history
add cicd setup for github
  • Loading branch information
leifdenby authored Mar 11, 2024
2 parents d905184 + ea6b11c commit e8c086c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci-pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: linting

on:
push:
branches: "*"
pull_request:
branches: "*"

jobs:
linting:
name: "pre-commit hooks"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/[email protected]
17 changes: 17 additions & 0 deletions .github/workflows/python-package-pip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: mllam-data-prep (pip install)
on: [push, pull_request]

jobs:
test:
name: Test pip install python ${{ matrix.python-version }} on ${{ matrix.os }}

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.7]
steps:
- uses: actions/checkout@v2
- name: Install package with pip
run: |
pip install .

0 comments on commit e8c086c

Please sign in to comment.