-
Notifications
You must be signed in to change notification settings - Fork 4
46 lines (37 loc) · 1.03 KB
/
test-ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Run tests on all supported platforms
on:
pull_request: ~
workflow_dispatch: ~
jobs:
test:
name: Run test on ${{ matrix.os }} with ${{ matrix.py_ver }}
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COINSTATS_API_KEY: ${{ secrets.COINSTATS_API_KEY }}
strategy:
matrix:
os:
- macOS-latest
- macos-14
- macos-13
- ubuntu-latest
- ubuntu-24.04
- ubuntu-22.04
- windows-latest
- windows-2022
- windows-2019
runs-on: ${{ matrix.os }}
if: ${{ ! github.event.pull_request.draft }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
- name: Install dependencies
run: pip install -r requirements-dev.txt
- name: Run tests
run: py.test -s --ignore=chk