Skip to content

Add test for exception #57

Add test for exception

Add test for exception #57

Workflow file for this run

name: CI
permissions:
contents: read
on: [push]
jobs:
php:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.1', '8.2', '8.3']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- uses: actions/checkout@v4
- name: Install dependencies
run: composer install --no-interaction --no-progress
- name: Run tests
run: composer test
- name: Run phpstan
run: composer run phpstan
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./SteamKit2/Tests/Coverage/lcov.info
fail_ci_if_error: false