forked from Archives/langchain
9679bdc34c
per https://stackoverflow.com/questions/58221321/is-github-actions-available-on-forked-repositories
24 lines
540 B
YAML
24 lines
540 B
YAML
name: test
|
|
|
|
on: [push, pull_request_target]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.7"]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v3
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -r test_requirements.txt
|
|
- name: Run unit tests
|
|
run: |
|
|
make tests
|