Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
gh-actions: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
drjova committed Jul 16, 2024
1 parent 775bdbc commit ef17558
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
- name: Test
run: >
docker run
-v "$(pwd)"/tests:/opt/airflow/tests
-v "$(pwd)"/dags:/opt/airflow/dags
-v "$(pwd)"/airflow.cfg:/opt/airflow/airflow.cfg
-v "$(pwd)"/requirements-test.txt:/opt/airflow/requirements-test.txt
-v "$(pwd)"/data:/opt/airflow/data
registry.cern.ch/cern-sis/inspire/workflows@${{ needs.build.outputs.image-id }}
bash -c "pip install -r requirements-text.txt && airflow db init && pytest /opt/airflow/tests"
-v "$(pwd)"/tests:/opt/airflow/tests
-v "$(pwd)"/dags:/opt/airflow/dags
-v "$(pwd)"/airflow.cfg:/opt/airflow/airflow.cfg
-v "$(pwd)"/requirements-test.txt:/opt/airflow/requirements-test.txt
-v "$(pwd)"/data:/opt/airflow/data
registry.cern.ch/cern-sis/inspire/workflows@${{ needs.build.outputs.image-id }}
bash -c "pip install -r requirements-text.txt && airflow db init && pytest /opt/airflow/tests"

0 comments on commit ef17558

Please sign in to comment.