Fix broken JDK version #85
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths-ignore: | |
- 'README.md' | |
- 'docs/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Lint Python Code | |
working-directory: ./src | |
run: | | |
pip install flake8 | |
flake8 ./pyspark_app ./common_lib | |
- name: Lint Terraform | |
run: terraform fmt -check -recursive | |
- name: Init Terraform | |
working-directory: ./src | |
run: terraform init | |
- name: Build Dev Container and Run Tests | |
uses: devcontainers/[email protected] | |
with: | |
cacheFrom: mcr.microsoft.com/devcontainers/python:0-3.10 | |
push: never | |
runCmd: | | |
pytest --github-report | |
# Commented because they take a lot of time | |
# cd src | |
# ./smoke-test.sh |