switch away from pdk testing to openvox, include install on server #1
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: run VoxBox checks | |
| env: | |
| VOXBOX: 'ghcr.io/voxpupuli/voxbox:8' | |
| # yamllint disable-line rule:truthy | |
| on: | |
| pull_request: {} | |
| concurrency: | |
| group: ${{ github.ref_name }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-push: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Podman | |
| run: | | |
| sudo apt update | |
| sudo apt-get -y install podman | |
| podman pull ${VOXBOX} | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: run validate | |
| run: | | |
| podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} validate | |
| - name: run check | |
| run: | | |
| podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} check | |
| - name: run lint | |
| run: | | |
| podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} lint | |
| - name: run yamllint | |
| run: | | |
| podman run -it --rm -v $PWD:/repo:Z --entrypoint yamllint ${VOXBOX} . | |
| - name: run rubocop | |
| run: | | |
| podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} rubocop | |
| - name: check syntax | |
| run: | | |
| podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} strings:validate:reference | |
| - name: run spec tests | |
| run: | | |
| podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} fixtures:clean | |
| podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} fixtures:prep | |
| podman run -it --rm -v $PWD:/repo:Z ${VOXBOX} spec |