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 Sep 1, 2023
1 parent 2e5a2af commit 3e27b6c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/appmap-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18]
group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]

services:
postgres:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
POSTGRES_PASSWORD: misago
POSTGRES_HOST: localhost
run: |
pytest --no-cov --splits 18 --group ${{ matrix.group }}
pytest --no-cov --splits 18 --group ${{ matrix.group }}
- name: Set matrix group env var with zero-based numbering
if: always()
Expand All @@ -62,9 +62,7 @@ jobs:
appmap-analysis:
if: always()
runs-on: ubuntu-latest

needs: [ record-appmaps ]


steps:
- uses: actions/checkout@v3
Expand All @@ -77,7 +75,7 @@ jobs:
uses: getappmap/archive-action/merge@v1
with:
revision: ${{ github.event.pull_request.base.sha }}
archive-count: 18
archive-count: 17

- name: Archive AppMaps
uses: getappmap/archive-action@v1
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,7 @@ pylint.txt
docker-compose.override.yml

tmp/appmap
test
test

# Ignore AppMap archives and working files
/.appmap
3 changes: 2 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[pytest]
DJANGO_SETTINGS_MODULE = devproject.test_settings
testpaths = misago
python_files = tests.py test_*.py *_tests.py
python_files = tests.py test_*.py *_tests.py
addopts = --ignore=misago/apiv2/threads/tests/test_thread_watch.py --ignore=misago/acl/tests/test_providers.py
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
appmap>=1.1.0.dev0
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
Expand Down

0 comments on commit 3e27b6c

Please sign in to comment.