layers -> xlayers

This commit is contained in:
D-X-Y
2021-03-18 20:15:50 +08:00
parent eabdd21d97
commit badb6cf51d
16 changed files with 140 additions and 30 deletions

View File

@@ -43,5 +43,5 @@ jobs:
echo "Show what we have here:"
ls
python --version
python -m pytest ./tests -s
python -m pytest ./tests/test_basic_space.py -s
shell: bash

32
.github/workflows/super_model_test.yml vendored Normal file
View File

@@ -0,0 +1,32 @@
name: Run Python Tests for Super Model
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
os: [ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Test Super Model
run: |
python -m pip install pytest numpy
python -m pip install torch torchvision torchaudio
python -m pytest ./tests/test_super_model.py -s
shell: bash