生物多样性:修正学位论文类型 #114
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 | |
# Other steps that change files in the repository | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- 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' |