Skip to content

del user.json

del user.json #15

Workflow file for this run

name: run_tests
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install python
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install poetry
make install
- name: Run tests
env:
DATABASE_URL: sqlite:///db.sqlite3
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
run: |
make test
make test_coverage
- name: Run code coverage
uses: paambaati/codeclimate-action@v5.0.0
env:
DATABASE_URL: sqlite:///db.sqlite3
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
with:
coverageCommand: make test_coverage
debug: true
- name: Run linter
run: make lint