Skip to content

Commit

Permalink
update github CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
ghukill committed Aug 30, 2024
1 parent 6f8686c commit 24d02b4
Showing 1 changed file with 4 additions and 38 deletions.
42 changes: 4 additions & 38 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,7 @@
name: Tests
name: CI
on: push
jobs:
test:
name: Run tests
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install
run: |
python -m pip install --upgrade pip pipenv
pipenv install --dev
- name: Tests
run: make coveralls
linting:
name: Run linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install
run: |
python -m pip install --upgrade pip pipenv
pipenv install --dev
- name: bandit
run: make bandit
- name: black
run: make black
- name: flake8
run: make flake8
- name: isort
run: make isort
uses: mitlibraries/.github/.github/workflows/python-shared-test.yml@main
lint:
uses: mitlibraries/.github/.github/workflows/python-shared-lint.yml@main

0 comments on commit 24d02b4

Please sign in to comment.