Replaces the broken powerofus links to the salesforce documentation l… #9
Workflow file for this run
This file contains hidden or 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: Python | |
| on: [push] | |
| jobs: | |
| pytest: | |
| runs-on: SalesforceFoundation-ubuntu | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.8' | |
| - name: Determine Python Version | |
| id: python-version | |
| run: | | |
| echo "::set-output name=ver::$(python --version)" | |
| - uses: actions/cache@v3 | |
| with: | |
| path: venv | |
| key: ${{ runner.os }}-${{ steps.python-version.outputs.ver }}-${{ hashFiles('requirements.txt') }} | |
| - name: Install Packages | |
| run: | | |
| python3 -m venv venv | |
| venv/bin/pip install -r requirements.txt | |
| - name: Pytest | |
| run: | | |
| venv/bin/pytest |