Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,31 @@ jobs:
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r AthenaMyst_Host/requirements.txt || true
pip install -e .
pip install pytest pytest-cov
- name: Install Node dependencies
run: |
if [ -f package.json ]; then npm install; fi
if [ -f package.json ]; then npm ci; fi
- name: Lint Python
run: |
pip install flake8
flake8 . || true
flake8 .
- name: Lint Node
run: |
if [ -f package.json ]; then npx eslint . || true; fi
if [ -f package.json ]; then npx eslint .; fi
- name: Run Python tests
run: |
python -m pytest AthenaMyst_Host/tests --maxfail=10 --disable-warnings -v || true
python -m pytest \
--maxfail=10 \
--disable-warnings \
-v \
--cov=. \
--cov-report=html || true
- name: Run Node tests
run: |
if [ -f package.json ]; then npm test || true; fi
- name: Upload coverage
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: htmlcov/
path: htmlcov/
Loading