Add Name.com domain registrar adapter #150
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Tests" | |
| on: [pull_request] | |
| jobs: | |
| lint: | |
| name: Tests ${{ matrix.php-versions }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php-versions: ['8.2', '8.3', '8.4', 'nightly'] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Setup PHP ${{ matrix.php-versions }} | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| - name: Validate composer.json and composer.lock | |
| run: composer validate --strict | |
| - name: Compose install | |
| run: composer install --ignore-platform-reqs | |
| - name: Run tests | |
| run: | | |
| export OPENSRS_KEY=${{ secrets.OPENSRS_KEY }} | |
| export OPENSRS_USERNAME=${{ secrets.OPENSRS_USERNAME }} | |
| export NAMECOM_USERNAME=${{ secrets.NAMECOM_USERNAME }} | |
| export NAMECOM_TOKEN=${{ secrets.NAMECOM_TOKEN }} | |
| composer test |