Skip to content

Commit

Permalink
馃懛 Start redistribution tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Mar 28, 2024
1 parent d0437b4 commit d0f7cba
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/redistribute.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Test Redistribute

on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize

jobs:
test-redistribute:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
# Issue ref: https://github.com/actions/setup-python/issues/436
# cache: "pip"
# cache-dependency-path: pyproject.toml
- name: Install build dependencies
run: pip install build
# TODO: remove this
# Allow debugging with tmate
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
- name: Build distribution
run: python -m build
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"

0 comments on commit d0f7cba

Please sign in to comment.