build(deps): bump cryptography from 41.0.5 to 41.0.6 #379
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: Tests | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- uses: dioptra-io/setup-poetry-action@v1 | |
- name: Start services | |
run: docker compose up -d -t 0 traefik clickhouse minio postgres redis | |
- name: Install caracal | |
run: | | |
sudo curl -L -o /usr/bin/caracal https://github.com/dioptra-io/caracal/releases/download/v0.15.1/caracal-linux-amd64 | |
sudo chmod +x /usr/bin/caracal | |
- name: Install package | |
run: poetry install | |
- name: Run tests | |
run: sudo $(poetry env info -p)/bin/pytest --cov=iris --cov-report=xml --log-cli-level=INFO -m "not cifail" | |
- uses: codecov/codecov-action@v3 | |
docker: | |
needs: [test] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
image: | |
- iris-agent | |
- iris-api | |
- iris-worker | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dioptra-io/publish-docker-action@v1 | |
with: | |
file: ./dockerfiles/${{ matrix.image }}.dockerfile | |
image: dioptra-io/iris/${{ matrix.image }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# platforms: linux/amd64,linux/arm64 | |
push: ${{ github.event_name == 'push' && github.actor != 'dependabot[bot]' }} | |
mkdocs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- uses: dioptra-io/setup-poetry-action@v1 | |
- name: Install package | |
run: poetry install | |
- name: Build documentation | |
run: poetry run mkdocs build --strict | |
- name: Publish documentation | |
run: poetry run mkdocs gh-deploy --force --no-history --strict | |
if: ${{ github.ref == 'refs/heads/main' }} |