-
-
Notifications
You must be signed in to change notification settings - Fork 33
78 lines (75 loc) · 1.71 KB
/
test.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: Test
on:
push:
branches: [main]
paths-ignore:
- "docs/**"
- "images/**"
- "**.md"
- "**.yml"
- "LICENSE-**"
- ".gitmessage"
- ".pre-commit-config.yaml"
pull_request:
branches: [main]
paths-ignore:
- "docs/**"
- "images/**"
- "**.md"
- "**.yml"
- "LICENSE-**"
- ".pre-commit-config.yaml"
env:
CARGO_TERM_COLOR: always
jobs:
package-test:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install
run: |
rustup update stable
cargo install --path .
# TODO:
# - name: boto3
# continue-on-error: true
# run: |
# pip3 install boto3
# pylyzer -c "import boto3"
- name: urllib3
continue-on-error: true
run: |
pip3 install urllib3
pylyzer -c "import urllib3"
- name: setuptools
continue-on-error: true
run: |
pip3 install setuptools
pylyzer -c "import setuptools"
- name: requests
continue-on-error: true
run: |
pip3 install requests
pylyzer -c "import requests"
- name: certifi
continue-on-error: true
run: |
pip3 install certifi
pylyzer -c "import certifi"
- name: charset-normalizer
continue-on-error: true
run: |
pip3 install charset-normalizer
pylyzer -c "import charset_normalizer"
- name: idna
continue-on-error: true
run: |
pip3 install idna
pylyzer -c "import idna"