Skip to content

Commit

Permalink
Hopefully fix ts workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
federicaagostini committed Oct 9, 2024
1 parent 4cc067f commit 1b6cbb4
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/run-testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,27 @@ jobs:
runs-on: ubuntu-latest

env:
ARTIFACTS: artifacts
ARTIFACTS: ${HOME}/artifacts

steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4

- name: Fetch crls
working-directory: compose
run: docker-compose up trust
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Start WebDAV services
- name: Start services
working-directory: compose
run: docker-compose up -d webdav nginx
run: docker-compose up -d

- name: Run testsuite
working-directory: compose
run: |
set +e
docker-compose up -d ts
docker-compose exec -T ts bash -c '/scripts/wait-and-run-testsuite.sh'
docker-compose exec -T ts bash -c '/scripts/setup-and-run-testsuite.sh'
echo "Test suite completed"
- name: Create artifacts directory
Expand All @@ -48,7 +50,7 @@ jobs:

- name: Archive reports
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: logs-and-reports
path: ${{ env.ARTIFACTS }}

0 comments on commit 1b6cbb4

Please sign in to comment.