Skip to content

Commit

Permalink
ci: Configure the project for appmap
Browse files Browse the repository at this point in the history
  • Loading branch information
petecheslock committed Aug 31, 2023
1 parent 46246f7 commit 88dd361
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 63 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/appmap-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,23 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install AppMap tools
id: install-appmap
uses: getappmap/install-action@v1
with:
project-type: pip
build-file: "requirements.txt"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .

- name: Pytest
env:
DJANGO_SETTINGS_MODULE: devproject.test_settings
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
POSTGRES_DB: misago
POSTGRES_USER: misago
POSTGRES_PASSWORD: misago
POSTGRES_HOST: localhost
run: |
pytest --cov=misago
- name: Linters
run: |
black --check .
ruff misago/notifications misago/apiv2
- name: Publish to coveralls.io
uses: coverallsapp/github-action@v2
- name: Archive AppMaps
uses: getappmap/archive-action@v1
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/tests.yml

This file was deleted.

6 changes: 6 additions & 0 deletions appmap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
appmap_dir: tmp/appmap
language: python
name: Misago
packages:
- path: devproject
- path: misago

0 comments on commit 88dd361

Please sign in to comment.