Skip to content

chore: update deps

chore: update deps #1

Workflow file for this run

name: main
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.12]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
pip install "tox>=4.15"
- name: Run Tests
run: |
tox -r
env:
DEBUG: True
SECRET_KEY: ${{ secrets.DEV_SECRET_KEY }}
# deployment:
# name: Deployment
# needs: build
# permissions:
# deployments: write
# statuses: write
# contents: read
# runs-on: ubuntu-latest
# env:
# SHA: ${{ github.event.deployment.sha }}
# ENVIRONMENT: ${{ github.event.deployment.environment }}
# DEPLOY_ID: ${{ github.event.deployment.id}}
# steps:
# - name: In-progress Status
# uses: chrnorm/deployment-status@v2
# with:
# token: "${{ github.token }}"
# state: "in_progress"
# deployment-id: ${{env.DEPLOY_ID}}
# - name: "Checkout"
# uses: actions/checkout@v4
# - uses: chrnorm/deployment-action@v2
# name: Create GitHub deployment
# id: deployment
# with:
# token: '${{ github.token }}'
# environment-url: http://my-app-url.com
# environment: production
# - name: "Deploy ${{env.ENVIRONMENT}}"
# run: |
# echo "Deploying ${SHA} to ${ENVIRONMENT} environment"
# echo "This is a test" # FIXME
# - name: Success Status
# if: success()
# uses: chrnorm/deployment-status@v2
# with:
# token: "${{ github.token }}"
# state: "success"
# deployment-id: ${{env.DEPLOY_ID}}
# - name: Failure Status
# if: failure()
# uses: chrnorm/deployment-status@v2
# with:
# token: "${{ github.token }}"
# state: "failure"
# deployment-id: ${{env.DEPLOY_ID}}