Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jonavellecuerdo committed Nov 20, 2023
1 parent c16e405 commit c79a9db
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
name: CI
name: Tests
on: push
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
DJANGO_SECRET_KEY: ${{ secrets.DJANGO_SECRET_KEY }}
jobs:
test:
uses: mitlibraries/.github/.github/workflows/python-shared-test.yml@main
lint:
uses: mitlibraries/.github/.github/workflows/python-shared-lint.yml@main
test:
name: Run tests
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
DJANGO_SECRET_KEY: ${{ secrets.DJANGO_SECRET_KEY }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.11'
architecture: x64
- name: Install
run: |
python -m pip install --upgrade pip pipenv
pipenv install --dev
- name: Test
run: |
make test
make coveralls

0 comments on commit c79a9db

Please sign in to comment.