chore(deps): bump actions/checkout from 3 to 4 #16
Workflow file for this run
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: Pull Request Events | |
on: | |
pull_request: | |
paths: | |
- "src/conductor/**" | |
- ".github/workflows/*.yml" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
permissions: {} | |
jobs: | |
test-unit: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Set up code | |
uses: actions/checkout@v4 | |
- name: 🐍 Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: pip | |
cache-dependency-path: setup.py | |
- name: 🏗 Install conductor | |
run: pip install .[tests,cloud-run] | |
- name: Create folders | |
run: mkdir -p secrets/db | |
- name: 🤐 Create secret file | |
uses: jsdaniell/[email protected] | |
with: | |
name: "secrets/db/connections" | |
json: ${{ secrets.TESTING_DB_CONNECTIONS }} | |
- name: 🧪 Run pytest | |
run: pytest | |
- name: ⬆️ Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./cov.xml |