Merge pull request #25 from movabletype/bump-version #7
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: Test | |
| on: | |
| push: | |
| branches: | |
| - "**/*" | |
| tags: | |
| - "v*" | |
| - "*@v*" | |
| # pull_request: | |
| # types: [opened, synchronize] | |
| jobs: | |
| perl: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| config: | |
| - { image: cloud7 } | |
| - { image: buster } | |
| - { image: bullseye } | |
| - { image: fedora35 } | |
| - { image: fedora37 } | |
| - { image: fedora40 } | |
| - { image: fedora41 } | |
| - { image: fedora42 } | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| repository: movabletype/movabletype | |
| ref: develop | |
| path: mt | |
| - uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run tests | |
| run: | | |
| docker run --rm \ | |
| -v ${{ github.workspace }}/mt:/app \ | |
| -v ${{ github.workspace }}/addons/PerformanceProfiler.pack:/app/addons/PerformanceProfiler.pack \ | |
| -w /app \ | |
| -e MT_TEST_ENV_ADMIN_THEME_ID=${{ matrix.admin_theme_id }} \ | |
| ghcr.io/movabletype/movabletype/test:${{ matrix.config.image }} \ | |
| bash -c 'cpm install -g Devel::NYTProf && prove -j4 -PMySQLPool=MT::Test::Env -It/lib addons/PerformanceProfiler.pack/t' |