Skip to content

Commit

Permalink
End-to-end tests
Browse files Browse the repository at this point in the history
Added end-to-end tests
  • Loading branch information
filippomenchini committed Nov 20, 2023
1 parent 8088c74 commit d174bb0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,23 @@ jobs:

- name: Run tests
run: dart test

e2e-tests:
name: "End-to-end tests"
runs-on: "ubuntu-latest"
needs: unit-tests
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Dart setup
uses: dart-lang/setup-dart@v1

- name: Install dependencies
run: dart pub get

- name: Run end-to-end tests
run: |
TIDAL_CLIENT_ID=`echo ${{ secrets.TIDAL_CLIENT_ID }} | base64 --decode`
TIDAL_CLIENT_SECRET=`echo ${{ secrets.TIDAL_CLIENT_SECRET }} | base64 --decode`
dart run --define=TIDAL_CLIENT_ID=$TIDAL_CLIENT_ID --define=TIDAL_CLIENT_SECRET=$TIDAL_CLIENT_SECRET example/example.dart

0 comments on commit d174bb0

Please sign in to comment.