Skip to content

fix: requirements.txt to reduce vulnerabilities #105

fix: requirements.txt to reduce vulnerabilities

fix: requirements.txt to reduce vulnerabilities #105

Workflow file for this run

name: testing
on: push
jobs:
test-ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt remove python3-pip
python -m pip install --upgrade pip
pip install .
pip install keyrings.alt
- name: Test with bash script
env:
TEST_GITHUB_TOKEN: ${{ secrets.TEST_GITHUB_TOKEN }}
run: |
bash scripts/test_functionality.sh -t $TEST_GITHUB_TOKEN
test-macos:
runs-on: macos-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install keyrings.alt
- name: Test with bash script
env:
TEST_GITHUB_TOKEN: ${{ secrets.TEST_GITHUB_TOKEN }}
run: |
bash scripts/test_functionality.sh -t $TEST_GITHUB_TOKEN
test-windows:
runs-on: windows-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install keyrings.alt
- name: Test with bash script
env:
TEST_GITHUB_TOKEN: ${{ secrets.TEST_GITHUB_TOKEN }}
run: |
bash scripts/test_functionality.sh -t $env:TEST_GITHUB_TOKEN