apt-mark hold on openjdk-17-jre-headless (#94) #205
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 tvm_bot | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- terraform/tvm_bot/** | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./terraform/tvm_bot | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
set -eux | |
pip install -r requirements.txt | |
- name: Run unit tests | |
run: | | |
set -eux | |
PYTHONPATH=$(pwd) pytest --tb=native |