forked from SolarEdgeTech/pyctuator
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (45 loc) · 1.27 KB
/
test_action_run_cd...yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# This workflow will install dependencies, build Pyctuator, run tests (+coverage) and lint
name: check_gh_cd
on:
push:
pull_request:
jobs:
run_image:
runs-on: [ubuntu-18.04]
container:
image: matanrubin/python-poetry:3.7
steps:
- uses: actions/checkout@v2
- run: pwd
- run: ls -la
- run: cd environment
continue-on-error: true
- run: pwd
- run: echo "Newfile baby!!" > tests/newfile.txt
- run: ls -la
- run: cd tests; ls -la
continue-on-error: true
- run: cat newfile.txt
working-directory: ./tests
- run: pwd
- run: ls -la
- run: cd ..
- run: pwd
- run: ls -la
- run: cd ..
- run: pwd
- run: ls -la
## - run: make bootstrap
## - run: poetry update -vvv
## - run: poetry build -vvv
## - run: poetry install --extras flask --extras fastapi --extras db --extras redis
## - run: make coverage
# - uses: actions/upload-artifact@v2
# with:
# name: htmlcov.zip
# path: htmlcov/
# - uses: codecov/codecov-action@v1
# Install the extra psutil module and run linting+tests in the "psutil enabled" env
- run: poetry install --extras psutil
- run: make check
- run: make test