Skip to content

Commit

Permalink
fix: coverage on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed Sep 20, 2024
1 parent 54344bb commit f2a5036
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,19 @@ jobs:
with:
php-version: '8.3'
coverage: xdebug
- run: docker network create traefik
- name: Install Dependencies
run: |
cp .env-example .env
cd src
cp .env-example .env
just setup
- name: Generate coverage report
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd src
EASYPOST_TEST_API_KEY=123 EASYPOST_PROD_API_KEY=123 just install coverage
EASYPOST_TEST_API_KEY=123 EASYPOST_PROD_API_KEY=123 just coverage
./bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
deploy:
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit f2a5036

Please sign in to comment.