Skip to content

fix: fake test

fix: fake test #7

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
- main
jobs:
ci:
name: Run tests and linting
runs-on: ubuntu-latest
steps:
- name: Checkout Ecommerce NAU extensions
uses: actions/checkout@v4
with:
# Relative path to place the repository
path: ecommerce-nau-extensions
- name: Checkout ecommerce
uses: actions/checkout@v4
with:
# Repository name with owner
repository: fccn/ecommerce
# Change the branch to checkout
ref: nau/nutmeg.master
# Relative path to place the repository
path: ecommerce
- name: Use Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
cache: 'pip' # caching pip dependencies
- name: Install ecommerce pip requirements
run: pip install -r ecommerce/requirements/dev.txt
- name: Install Ecommerce NAU extensions
run: pip install -e ecommerce-nau-extensions
- name: Run unit tests
run: ECOMMERCE_SOURCE_PATH=../ecommerce make -C ecommerce-nau-extensions test
- name: Run lint
run: ECOMMERCE_SOURCE_PATH=../ecommerce make -C ecommerce-nau-extensions lint
- name: Extract translations and detect changed source translations
run: make -C ecommerce-nau-extensions extract_translations detect_changed_source_translations