Download .github/workflows/run-tests.yml from abr00kx/shutter: direct link, hf CLI and curl.
- Browser
- Download file 1.55 kB
-
https://huggingface.co/abr00kx/shutter/resolve/main/.github/workflows/run-tests.yml
- Command line
-
hf download hf://abr00kx/shutter/.github/workflows/run-tests.yml
-
curl -L -o run-tests.yml https://huggingface.co/abr00kx/shutter/resolve/main/.github/workflows/run-tests.yml
1.55 kB
| name: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| run-tests: | |
| runs-on: ubuntu-latest | |
| # Steps represent a sequence of tasks that will be executed as part of the job | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install deps | |
| run: | | |
| sudo apt update | |
| sudo apt install cpanminus gir1.2-ayatanaappindicator3-0.1 gir1.2-wnck-3.0 imagemagick \ | |
| libcarp-always-perl libfile-basedir-perl libfile-copy-recursive-perl libfile-which-perl \ | |
| libglib-object-introspection-perl libglib-perl libgoocanvas2-perl libgoocanvas-2.0-dev \ | |
| libgtk3-perl libimage-exiftool-perl libimage-magick-perl \ | |
| libjson-maybexs-perl libjson-perl liblocale-gettext-perl liblwp-protocol-https-perl \ | |
| libnet-dbus-perl libnet-dbus-glib-perl libnet-oauth-perl libnumber-bytes-human-perl \ | |
| libpango-perl libpath-class-perl libproc-processtable-perl libproc-simple-perl \ | |
| libreadonly-perl librsvg2-common libsort-naturally-perl libwww-mechanize-perl libwww-perl \ | |
| libx11-protocol-other-perl libx11-protocol-perl libxml-simple-perl procps xdg-utils | |
| sudo cpanm --installdeps --notest . | |
| sudo cpanm --sudo --notest Gtk3::ImageView | |
| sudo cpanm --sudo --notest GooCanvas2::CairoTypes | |
| - name: Run tests | |
| env: | |
| TEST_APP_SHUTTER_PATH: ${{ env.GITHUB_WORKSPACE }} | |
| run: xvfb-run --auto-servernum prove -I lib -I t/lib t -r | |