Skip to content

Commit

Permalink
Merge pull request #4 from wednesday-solutions/feat/containerized-ci
Browse files Browse the repository at this point in the history
Feat(CI): Containerized CI for Glue Unit Tests
  • Loading branch information
vighnesh-wednesday authored Dec 13, 2023
2 parents 782ee28 + f9b4631 commit bf44e50
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,16 @@ on:
jobs:
run-ci:
runs-on: ubuntu-latest
container:
image: dipanshuwed/glue4.0
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10.12

- name: Install dependencies
run: |
pip install mypy==1.7.1 pylint==3.0.2 pyspark==3.3.0 coverage
pip3 install mypy pylint coverage
yum install jq -y # jq is required for sonar
- name: Type check
run: mypy ./ --ignore-missing-imports
Expand All @@ -32,7 +30,9 @@ jobs:
run: coverage run --source=app -m unittest discover -s app/tests/

- name: Test coverage report
run: coverage xml
run: |
coverage report
coverage xml
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
Expand Down

0 comments on commit bf44e50

Please sign in to comment.