Skip to content

Commit

Permalink
proper requirements; run e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson committed Aug 18, 2023
1 parent 4825f2d commit 7f69613
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/dmr-test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
with:
python-version: 3.11
cache: 'pip'
cache-dependency-path: 'requirements.txt'
cache-dependency-path: 'tests-e2e/synapse-requirements.txt'

- name: Install Synapse
run: |
pip install -r requirements.txt
pip install -r tests-e2e/synapse-requirements.txt
pip list
- name: Configure Synapse
Expand All @@ -75,24 +75,24 @@ jobs:
report_stats: false
EOF > synapse/homeserver.config
- name: Run end-to-end tests
run: |
set -euo pipefail
./run-tests-dmr-test.sh -count=1 -v -json . 2>&1 | tee test-e2e-runner.log | gotestfmt -hide all
working-directory: tests-e2e
shell: bash
env:
SYNCV3_DB: user=postgres dbname=syncv3 sslmode=disable password=postgres host=localhost
SYNCV3_SERVER: http://localhost:8008
SYNCV3_SECRET: itsasecret
E2E_TEST_SERVER_STDOUT: test-e2e-server.log
- name: Run end-to-end tests
run: |
set -euo pipefail
./run-tests-dmr-test.sh -count=1 -v -json . 2>&1 | tee test-e2e-runner.log | gotestfmt -hide all
working-directory: tests-e2e
shell: bash
env:
SYNCV3_DB: user=postgres dbname=syncv3 sslmode=disable password=postgres host=localhost
SYNCV3_SERVER: http://localhost:8008
SYNCV3_SECRET: itsasecret
E2E_TEST_SERVER_STDOUT: test-e2e-server.log

- name: Upload test log
uses: actions/upload-artifact@v3
if: always()
with:
name: E2E test logs
path: |
./tests-e2e/test-e2e-runner.log
./tests-e2e/test-e2e-server.log
if-no-files-found: error
- name: Upload test log
uses: actions/upload-artifact@v3
if: always()
with:
name: E2E test logs
path: |
./tests-e2e/test-e2e-runner.log
./tests-e2e/test-e2e-server.log
if-no-files-found: error

0 comments on commit 7f69613

Please sign in to comment.