Skip to content

Commit

Permalink
Add tmate for debugging compliance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeckman314 committed Jul 7, 2023
1 parent d7519b6 commit 06c97db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/compliance-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
fail-fast: false
matrix:
version: [1.0.0, 1.1.0]
db: ["default", "mongo"]
# db: ["boltdb", "mongodb"]
db: ["mongodb"]
needs: build
runs-on: ubuntu-latest
steps:
Expand All @@ -66,7 +67,7 @@ jobs:

- name: Start Funnel server
run: |
if [ ${{ matrix.db }} = "mongo" ]; then
if [ ${{ matrix.db }} = "mongodb" ]; then
make start-mongodb
FLAGS="--config `pwd`/tests/mongo.config.yml"
fi
Expand All @@ -84,6 +85,9 @@ jobs:
source venv/bin/activate
python setup.py install
mkdir reports
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3

- name: Test compliance
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ jobs:
uses: actions/download-artifact@v2
with:
name: funnelBin

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3

- name: MongoTest
run: |
chmod +x funnel
Expand Down

0 comments on commit 06c97db

Please sign in to comment.