Skip to content

Commit

Permalink
dunossauro#1: change ci yml file name to unittest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
williangl committed Mar 24, 2021
1 parent a1704a3 commit fefdceb
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/main.yml → .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
name: CI
name: Unit test

on: [push, pull_request]

jobs:
tests:
env:
DISPLAY: ':99.0'
runs-on: ubuntu-latest
steps:
- name: Config ci env
run: |
source ci_env.sh
install_ubuntu_image_dependencies
start_xvfb
- name: Git Checkout
uses: actions/checkout@v2

Expand All @@ -17,13 +25,14 @@ jobs:
- name: Install Poetry
uses: Gr1N/setup-poetry@v4

- name: Cache Poetry env
- name: Cache Poetry venv
uses: actions/cache@v1
id: cache
with:
path: ~/.virtualenvs
key: poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
poetry-${{ hashFiles('**/poetry.lock') }}
- name: Config Poetry venv
run: |
Expand Down

0 comments on commit fefdceb

Please sign in to comment.