-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 1.06 KB
/
billing-project-e2e.yaml
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
name: Create billing project test
on:
push:
branches:
- arh-testing
jobs:
main-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up python
id: setup-python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Poetry
uses: snok/[email protected]
with:
version: 1.6.1
- name: Cache dependencies
uses: actions/cache@v2
env:
cache-name: cache-poetry-v2
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./tools/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
id: dependencies
run: poetry install
working-directory: ${{ github.workspace }}/tools
- name: Run script
run: |
source .venv/bin/activate
python -m billing_project