Add and List Data Providers #8
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install poetry | |
shell: bash | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
echo "/root/.local/bin" >> $GITHUB_PATH | |
- name: Install dependencies | |
shell: bash | |
run: poetry install | |
- name: Lint | |
shell: bash | |
run: poetry run flake8 | |
- name: Test | |
shell: bash | |
run: poetry run pytest |