... #27
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: Pytest | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: wget gbdk | |
uses: robinraju/release-downloader@v1 | |
with: | |
repository: "gbdk-2020/gbdk-2020" | |
tag: "4.3.0" | |
fileName: "gbdk-win64.zip" | |
extract: true | |
- name: Add msys64 to path | |
run: | | |
echo C:\msys64\usr\bin >> $env:GITHUB_PATH | |
- name: wget bgb | |
shell: bash | |
run: | | |
wget https://bgb.bircd.org/bgbw64.zip | |
unzip bgb.zip | |
- name: pip install | |
shell: bash | |
run: | | |
cd tests | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: pytest | |
shell: bash | |
run: | | |
cd tests | |
pytest -v -s |