From 7a1fc46f00c6f13ea409dcf7e0de7df68ed13903 Mon Sep 17 00:00:00 2001 From: Joao Gilberto Magalhaes Date: Fri, 26 Aug 2022 16:05:18 -0500 Subject: [PATCH] Minor changes in github actions --- .dockerignore | 4 ++++ .github/workflows/build.yml | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..8dc3880 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +__pycache__ +.pytest_cache +*.pyc +.* diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af6563c..b02c742 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,10 +26,14 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Run tests + - name: Install requirements run: | cd src/ pip install -r requirements.txt + + - name: Run tests + run: | + cd src/ pytest -s tests/ -vv Build: