Fix eslint warnings #484
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 Tests | |
"on": | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
api_tests: | |
name: Api Tests | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: api | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
- name: Run tests | |
run: make test | |
frontend_tests: | |
name: Frontend Tests | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: frontend | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node 20 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20.x | |
- name: Run tests | |
run: make test | |
environment_tests: | |
name: Devenv Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install devcontainer cli | |
run: npm install -g @devcontainers/cli | |
- name: Build and start container | |
run: devcontainer up --workspace-folder . | |
- name: Test developer workflow | |
run: devcontainer exec --workspace-folder . .devcontainer/test_dev_env.sh |