diff --git a/.github/workflows/ci-pre-commit.yml b/.github/workflows/ci-pre-commit.yml new file mode 100644 index 0000000..92a3c07 --- /dev/null +++ b/.github/workflows/ci-pre-commit.yml @@ -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/action@v2.0.3 diff --git a/.github/workflows/python-package-pip.yml b/.github/workflows/python-package-pip.yml new file mode 100644 index 0000000..180fde9 --- /dev/null +++ b/.github/workflows/python-package-pip.yml @@ -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 .