Migrate to github actions #4
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: Run all checks on Kedro Starters | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
run-tests: | ||
strategy: | ||
Check failure on line 13 in .github/workflows/all-checks.yml GitHub Actions / Run all checks on Kedro StartersInvalid workflow file
|
||
matrix: | ||
os: [ ubuntu-latest, windows-latest ] | ||
python-version: [ "3.8", "3.9", "3.10", "3.11" ] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Set up Python ${{inputs.python-version}} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install test requirements | ||
run: make install-test-requirements | ||
- name: Run `kedro run` end to end tests for all starters | ||
run: behave features/run.feature | ||
lint: | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest, windows-latest ] | ||
python-version: [ "3.8", "3.9", "3.10", "3.11" ] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Set up Python ${{inputs.python-version}} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install test requirements | ||
run: make install-test-requirements | ||
- name: Run `kedro run` end to end tests for all starters | ||
run: behave features/lint.feature |