Skip to content

Commit 9714059

Browse files
committed
Update Python 3.10.x to 3.10.0-beta.1 for test suite
1 parent fa5ab65 commit 9714059

1 file changed

Lines changed: 40 additions & 40 deletions

File tree

.github/workflows/test.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -7,58 +7,58 @@ jobs:
77
strategy:
88
matrix:
99
os: [ubuntu-latest, windows-latest]
10-
python-version: ["3.7", "3.8", "3.9", "3.10.0-alpha.2"]
10+
python-version: ["3.7", "3.8", "3.9", "3.10.0-beta.1"]
1111
runs-on: ${{ matrix.os }}
1212
steps:
13-
- uses: actions/checkout@v2
14-
- uses: actions/setup-python@v2
15-
with:
16-
python-version: ${{ matrix.python-version }}
17-
- run: .github/workflows/setup-${{ matrix.os }}.sh
18-
shell: bash
19-
- run: pip install -e .
20-
- run: python test.py -v
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-python@v2
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- run: .github/workflows/setup-${{ matrix.os }}.sh
18+
shell: bash
19+
- run: pip install -e .
20+
- run: python test.py -v
2121
perft:
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v2
25-
- uses: actions/setup-python@v2
26-
with:
27-
python-version: "3.10.0-alpha.2"
28-
- run: pip install -e .
29-
- run: python examples/perft/perft.py -t 1 examples/perft/random.perft --max-nodes 10000
30-
- run: python examples/perft/perft.py -t 1 examples/perft/tricky.perft
31-
- run: python examples/perft/perft.py -t 1 --variant giveaway examples/perft/giveaway.perft
32-
- run: python examples/perft/perft.py -t 1 --variant atomic examples/perft/atomic.perft
33-
- run: python examples/perft/perft.py -t 1 --variant racingkings examples/perft/racingkings.perft
34-
- run: python examples/perft/perft.py -t 1 --variant horde examples/perft/horde.perft
35-
- run: python examples/perft/perft.py -t 1 --variant crazyhouse examples/perft/crazyhouse.perft
24+
- uses: actions/checkout@v2
25+
- uses: actions/setup-python@v2
26+
with:
27+
python-version: "3.10.0-alpha.2"
28+
- run: pip install -e .
29+
- run: python examples/perft/perft.py -t 1 examples/perft/random.perft --max-nodes 10000
30+
- run: python examples/perft/perft.py -t 1 examples/perft/tricky.perft
31+
- run: python examples/perft/perft.py -t 1 --variant giveaway examples/perft/giveaway.perft
32+
- run: python examples/perft/perft.py -t 1 --variant atomic examples/perft/atomic.perft
33+
- run: python examples/perft/perft.py -t 1 --variant racingkings examples/perft/racingkings.perft
34+
- run: python examples/perft/perft.py -t 1 --variant horde examples/perft/horde.perft
35+
- run: python examples/perft/perft.py -t 1 --variant crazyhouse examples/perft/crazyhouse.perft
3636
mypy:
3737
strategy:
3838
matrix:
39-
python-version: ["3.8", "3.9", "3.10.0-alpha.2"]
39+
python-version: ["3.8", "3.9", "3.10.0-beta.1"]
4040
runs-on: ubuntu-latest
4141
steps:
42-
- uses: actions/checkout@v2
43-
- uses: actions/setup-python@v2
44-
with:
45-
python-version: ${{ matrix.python-version }}
46-
- run: pip install -e .
47-
- run: pip install mypy
48-
- run: python -m mypy --strict chess
49-
- run: python -m mypy --strict examples/**/*.py
42+
- uses: actions/checkout@v2
43+
- uses: actions/setup-python@v2
44+
with:
45+
python-version: ${{ matrix.python-version }}
46+
- run: pip install -e .
47+
- run: pip install mypy
48+
- run: python -m mypy --strict chess
49+
- run: python -m mypy --strict examples/**/*.py
5050
readme:
5151
strategy:
5252
matrix:
53-
python-version: ["3.7", "3.8", "3.9", "3.10.0-alpha.2"]
53+
python-version: ["3.7", "3.8", "3.9", "3.10.0-beta.1"]
5454
runs-on: ubuntu-latest
5555
steps:
56-
- uses: actions/checkout@v2
57-
- uses: actions/setup-python@v2
58-
with:
59-
python-version: ${{ matrix.python-version }}
60-
- run: sudo apt-get update && sudo apt-get install -y docutils-common
61-
- run: python setup.py --long-description | rst2html --strict --no-raw > /dev/null
62-
- run: pip install -e .
63-
- run: .github/workflows/setup-ubuntu-latest.sh
64-
- run: python -m doctest README.rst
56+
- uses: actions/checkout@v2
57+
- uses: actions/setup-python@v2
58+
with:
59+
python-version: ${{ matrix.python-version }}
60+
- run: sudo apt-get update && sudo apt-get install -y docutils-common
61+
- run: python setup.py --long-description | rst2html --strict --no-raw > /dev/null
62+
- run: pip install -e .
63+
- run: .github/workflows/setup-ubuntu-latest.sh
64+
- run: python -m doctest README.rst

0 commit comments

Comments
 (0)