readme 2.0 #2
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: Python testing | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
permissions: | |
contents: read | |
jobs: | |
run_tests_on_ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Bash script file | |
run: | | |
chmod +x ./.github/script/test.sh | |
./.github/script/test.sh | |
shell: bash | |
run_tests_on_windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run PowerShell script file | |
run: | | |
.\.github/script/test.ps1 | |
shell: pwsh |