Skip to content

native-app-examples #28

native-app-examples

native-app-examples #28

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: 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: Get changes
id: changed-files
uses: jitterbit/get-changed-files@v1
- name: List changed files
run: |
for changed_file in ${{ steps.changed-files.outputs.all }}; do
DIR="$(dirname "${changed_file}")"
echo "Do something with this ${DIR}."
done
- name: Install dependencies
run: |
python -m pip install pytest
- name: Run tests
run: |
pytest