From: Andy Allan <git@gravitystorm.co.uk>
Date: Wed, 16 Oct 2024 15:55:33 +0000 (+0100)
Subject: Merge pull request #5216 from kcne/teaspoon-v2
X-Git-Tag: live~648
X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/96984421ad914a86f61d172301fad952df60536c

Merge pull request #5216 from kcne/teaspoon-v2

Re-enable JavaScript unit tests using Teaspoon
---

96984421ad914a86f61d172301fad952df60536c
diff --cc .github/workflows/tests.yml
index 55e6671bf,f8561b7b2..e5c9efa11
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@@ -58,10 -58,14 +58,14 @@@ jobs
        run: bundle exec bin/yarn install
      - name: Compile assets
        run: bundle exec rails assets:precompile
+     - name: Create tmp/pids directory
+       run: mkdir -p tmp/pids
      - name: Run tests
        run: bundle exec rails test:all
+     - name: Run javascript tests
+       run: bundle exec teaspoon
      - name: Report completion to Coveralls
 -      uses: coverallsapp/github-action@v2.3.0
 +      uses: coverallsapp/github-action@v2.3.2
        with:
          github-token: ${{ secrets.github_token }}
          flag-name: ubuntu-${{ matrix.ubuntu }}-ruby-${{ matrix.ruby }}