串接大平台1 (#93) #279
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Run unit tests | |
run: | | |
./tests/run-tests.sh | |
- name: Run unit tests with real storage | |
run: | | |
export repository_impl=pickle | |
./tests/run-tests.sh | |
- name: Run unit tests with mongo | |
run: | | |
docker pull mongo:latest | |
export repository_impl=mongo | |
./tests/run-tests.sh |