Skip to content

Add tests

Add tests #2

Workflow file for this run

on:
push:
branches:
- master
jobs:
python-unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set Up Python
uses: actions/setup-python@v4
- name: Run Python Unit Tests
run: |
make python_tests
changed-files:
runs-on: ubuntu-latest
needs:
- python-unit-tests
outputs:
files_matrix: ${{ steps.print-changed-files.outputs.files_matrix }}
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Run Python Unit Tests
run: |
make python_tests
- name: Get Changed Files
id: changed-files
uses: tj-actions/changed-files@v45
- name: Print Changed Files
id: print-changed-files
run: |
make get_changed_files changed_files="${{ steps.changed-files.outputs.all_changed_files }}"