|
7 | 7 | strategy: |
8 | 8 | matrix: |
9 | 9 | 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"] |
11 | 11 | runs-on: ${{ matrix.os }} |
12 | 12 | 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 |
21 | 21 | perft: |
22 | 22 | runs-on: ubuntu-latest |
23 | 23 | 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 |
36 | 36 | mypy: |
37 | 37 | strategy: |
38 | 38 | 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"] |
40 | 40 | runs-on: ubuntu-latest |
41 | 41 | 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 |
50 | 50 | readme: |
51 | 51 | strategy: |
52 | 52 | 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"] |
54 | 54 | runs-on: ubuntu-latest |
55 | 55 | 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