[pre-commit.ci] Auto-update from pre-commit #120
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: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.9"] | |
fail-fast: false | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: update ubuntu, install dependencies | |
run: sudo apt-get update -y | |
- name: set up python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: install dependencies | |
run: ./scripts/install.sh | |
- name: run tests | |
run: ./scripts/test.sh | |
- name: docker-build | |
run: ./scripts/docker-build.sh |