Skip to content

SNOW-1482571: Add CI pipeline for apps unit testing #26

SNOW-1482571: Add CI pipeline for apps unit testing

SNOW-1482571: Add CI pipeline for apps unit testing #26

Workflow file for this run

name: native-app-examples
on:
pull_request:
types:
- opened
- edited
- labeled
- unlabeled
- synchronize
permissions:
contents: read
jobs:
build-mailorder:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- environment-file: mailorder/local_test_env.yml
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Setup test environment
uses: conda-incubator/setup-miniconda@v2
with:
environment-file: ${{ matrix.environment-file }}
- name: Install dependencies
run: |
python -m pip install pytest
- name: Run tests
working-directory: mailorder
run: |
pytest