Skip to content

refactor(cli): changed how endpoints are stored in config file #14

refactor(cli): changed how endpoints are stored in config file

refactor(cli): changed how endpoints are stored in config file #14

Workflow file for this run

name: Pre merge checks
on:
pull_request:
branches: [ main ]
jobs:
code-formatting-and-syntax:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check code formatting using ruff
uses: chartboost/ruff-action@v1
with:
version: 0.3.1
args: format --check
- name: Check import order
uses: chartboost/ruff-action@v1
with:
version: 0.3.1
args: check --select I
functionality-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
needs: [inital_checks]

Check failure on line 36 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Pre merge checks

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 36, Col: 13): Job 'functionality-tests' depends on unknown job 'inital_checks'.
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: 'mkdir /home/runner/.deeporigin/'
shell: bash
- run: 'cp tests/config.yml /home/runner/.deeporigin/config.yml'
shell: bash
- run: 'cp tests/api_tokens /home/runner/.deeporigin/api_tokens'
shell: bash
- name: run tests
run: |
pip install --upgrade pip
pip install --upgrade setuptools
pip install -e .[test]
make test