Skip to content

[autorevert] refactoring: extract Signal, decouple pattern detection #13

[autorevert] refactoring: extract Signal, decouple pattern detection

[autorevert] refactoring: extract Signal, decouple pattern detection #13

name: Test pytorch-auto-revert lambda
on:
pull_request:
paths:
- .github/workflows/pytorch-auto-revert-tests.yml
- aws/lambda/pytorch-auto-revert/**
push:
branches:
- main
paths:
- .github/workflows/pytorch-auto-revert-tests.yml
- aws/lambda/pytorch-auto-revert/**
defaults:
run:
working-directory: aws/lambda/pytorch-auto-revert/
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: '3.11'
cache: pip
- name: Install virtualenv
run: pip install virtualenv==20.34.0
- name: Run autorevert tests
env:
# GitHub provides this automatically; used by workflow_resolver tests
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
make test