Skip install step when metadata is unchanged #126
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Unit tests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: Install | |
run: | | |
pip install 'git+https://github.com/KSP-CKAN/NetKAN-Infra#subdirectory=netkan' | |
pip install . | |
- name: Unit tests | |
run: python -m unittest -v |