mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-25 12:34:19 +01:00
34 lines
608 B
YAML
34 lines
608 B
YAML
name: Continuous integration
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: [3.8]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install
|
|
run: |
|
|
python3 -m venv .env
|
|
source .env/bin/activate
|
|
make install
|
|
- name: Tests
|
|
run: |
|
|
source .env/bin/activate
|
|
make test
|
|
|