Skip to content

test the modified PHP_EXTENSION_VERSIONS file #51

test the modified PHP_EXTENSION_VERSIONS file

test the modified PHP_EXTENSION_VERSIONS file #51

Workflow file for this run

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
name: Run the Action
steps:
- uses: actions/checkout@v3
- uses: ./
with:
dependencies-yml: ./fixtures/dependencies.yml
output-file: ./fixtures/PHP_EXTENSION_VERSIONS
dry-run: true
- run: bash ./bin/test-textfile.sh ./fixtures/PHP_EXTENSION_VERSIONS
validate:
runs-on: ubuntu-latest
name: Validate the Action's output
needs: test
steps:
- uses: actions/checkout@v3
- uses: ./
with:
dependencies-yml: ./fixtures/dependencies.yml
output-file: ./fixtures/PHP_EXTENSION_VERSIONS
dry-run: true
- run: |
file_test=$(cat ./fixtures/PHP_EXTENSION_VERSIONS)
echo "$file_test"
echo "More tests coming soon..."