test: add real-package tests #2
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: 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: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: | | |
rustup update stable | |
cargo install --path . | |
- name: boto3 | |
run: | | |
pip install boto3 | |
pylyzer -c "import boto3" | |
echo "OK: boto3" | |
- name: urllib3 | |
run: | | |
pip install urllib3 | |
pylyzer -c "import urllib3" | |
echo "OK: urllib3" | |
- name: setuptools | |
run: | | |
pip install setuptools | |
pylyzer -c "import setuptools" | |
echo "OK: setuptools" | |
- name: requests | |
run: | | |
pip install requests | |
pylyzer -c "import requests" | |
echo "OK: requests" | |
- name: certifi | |
run: | | |
pip install certifi | |
pylyzer -c "import certifi" | |
echo "OK: certifi" | |
- name: charset-normalizer | |
run: | | |
pip install charset-normalizer | |
pylyzer -c "import charset_normalizer" | |
echo "OK: charset-normalizer" | |
- name: idna | |
run: | | |
pip install idna | |
pylyzer -c "import idna" | |
echo "OK: idna" |