Actions(deps): Bump peter-evans/create-pull-request from 7.0.6 to 7.0.7 #700
Workflow file for this run
This file contains 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
# Copyright (C) 2021 Sebastian Pipping <sebastian@pipping.org> | |
# Licensed under GNU Affero General Public License version 3.0 or later | |
name: Build and smoke test | |
# Drop permissions to minimum, for security | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
push: | |
schedule: | |
- cron: '0 16 * * 5' # Every Friday 4pm | |
workflow_dispatch: | |
jobs: | |
build_and_test: | |
strategy: | |
matrix: | |
python-version: [3.9, 3.13] | |
name: Build and smoke test | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install | |
run: |- | |
sudo apt-get update | |
sudo apt-get install --yes --no-install-recommends imagemagick inkscape | |
pip install \ | |
--disable-pip-version-check \ | |
--user \ | |
--no-warn-script-location \ | |
.[tests] | |
echo "PATH=${HOME}/.local/bin:${PATH}" >> "${GITHUB_ENV}" | |
- name: Smoke test | |
run: |- | |
pytest -v | |
./test-for-rendering-regressions.sh | |
cd /tmp # to not be in Git clone folder | |
set -x | |
xiangqi-board --help | |
xiangqi-board dummy-board.{svg,ini} | |
xiangqi-setup --help | |
xiangqi-setup --debug "${GITHUB_WORKSPACE}"/doc/demo.fen demo-fen.svg | |
xiangqi-setup --debug "${GITHUB_WORKSPACE}"/doc/demo.wxf demo-wxf.svg | |
xiangqi-setup --debug --moves 54 --annotate-last-move "${GITHUB_WORKSPACE}"/doc/demo-with-history-playok.{wxf,svg} |