湖南师范大学样式:英文期刊名改为斜体 #200
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
name: Automated testing | |
on: [push, pull_request] | |
jobs: | |
Run-tests: | |
runs-on: ubuntu-latest | |
permissions: | |
# Give the default GITHUB_TOKEN write permission to commit and push the | |
# added or changed files to the repository. | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
# Set up Python | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- run: pip install lxml | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Run regression tests | |
run: python3 tests/test-style.py | |
# Commit all changed files back to the repository | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update test files | |
add_options: '-A' |