Skip to content

Update working directories #263

Update working directories

Update working directories #263

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out odp-server
uses: actions/checkout@v4
with:
path: odp-server
- name: Check out odp-core
uses: actions/checkout@v4
with:
repository: SAEON/odp-core
path: odp-core
ref: dev
- name: Check out odp-ui
uses: actions/checkout@v4
with:
repository: SAEON/odp-ui
path: odp-ui
ref: dev
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
working-directory: odp-server
run: |
python -m pip install --upgrade pip pip-tools
pip-sync
- name: Set up testing environment
working-directory: odp-server/test
shell: bash
run: |
cp .env.test .env
docker-compose up -d
sleep 30s
- name: Run the tests
working-directory: odp-server/test
run: |
coverage run -m pytest
coverage xml
- name: Upload coverage
uses: codecov/codecov-action@v3
working-directory: odp-server/test

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

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 56, Col: 9): Unexpected value 'working-directory'