Skip to content

Commit

Permalink
🧪 run integration tests in build (#98)
Browse files Browse the repository at this point in the history
Related: #57
  • Loading branch information
JoshuaTheMiller authored Oct 26, 2024
1 parent 51ad246 commit 336ca04
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@ jobs:
uses: actions/setup-node@v4
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Prep .env file for integration tests
env:
envFileContents: ${{ secrets.INTEGRATION_ENV }}
run: |
echo "$envFileContents" >> test/integration/.env.sync-bot.tests
- name: Run tests
run: npm run test:all
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit 336ca04

Please sign in to comment.