Bump certifi from 2022.12.7 to 2023.7.22 in /Test #62
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Pie Test | |
on: | |
push: | |
branches: [ master, develop ] | |
pull_request: | |
branches: [ master, develop ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# Run in all these versions of Python | |
python-version: [3.7] | |
steps: | |
# Checkout the latest code from the repo | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
# Setup which version of Python to use | |
- name: Set Up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
# Display the Python version being used | |
- name: Display Python version | |
run: python -c "import sys; print(sys.version)" | |
# Install the package using the setup.py | |
- name: Install Modules | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade piencrypt | |
pip install requests | |
# Run the tests. I'm using pytest and the file is in the tests directory. | |
# - name: Clean temp directory | |
# run: rm -rf * | |
# working-directory: ./Test | |
- name: Run tests | |
run: python Test/github_test.py |