Merge pull request #6 from ricardogsilva/1-setup-ci-pipeline #1
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 | |
- pull_request | |
jobs: | |
run-dagger-ci: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: grab code | |
uses: actions/checkout@v4 | |
- name: setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: pip | |
cache-dependency-path: docker/backend/project_requirements.txt | |
- name: install dagger for python | |
uses: insightsengineering/pip-action@v2 | |
with: | |
packages: dagger-io==0.9.8 | |
- name: run dagger | |
uses: dagger/dagger-for-github@v5 | |
with: | |
verb: run | |
args: python tests/ci/main.py | |
version: 0.9.9 |