Merge pull request #606 from karrioapi/dependabot/npm_and_yarn/packag… #2390
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: karrio-tests | |
on: [push] | |
jobs: | |
sdk-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.12"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Tests | |
run: | | |
./bin/setup-sdk-env && | |
./bin/run-sdk-typecheck && | |
./bin/run-sdk-tests | |
server-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.12"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Tests | |
run: | | |
./bin/setup-server-env && | |
./bin/migrate && | |
./bin/run-server-tests | |
dashbaord-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: | | |
npm install | |
- name: Test Build | |
run: | | |
npm run build -w apps/dashboard |