We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89c7d0b commit 32d3e33Copy full SHA for 32d3e33
.github/workflows/test.yml
@@ -0,0 +1,34 @@
1
+name: Test
2
+on:
3
+ pull_request:
4
+
5
+jobs:
6
+ test:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v3
10
+ with:
11
+ fetch-depth: 0
12
+ - name: Set up Python 3.9
13
+ uses: actions/setup-python@v4
14
15
+ python-version: 3.9
16
17
+ - uses: snok/[email protected]
18
19
+ virtualenvs-create: true
20
+ virtualenvs-in-project: true
21
22
+ - name: Cache Dependencies
23
+ uses: actions/cache@v2
24
+ id: cache-dependencies
25
26
+ path: .venv
27
+ key: venv-${{ runner.os }}-${{ hashFiles('./poetry.lock') }}
28
29
+ - name: Install Dependencies if cache doesn't hit
30
+ if: steps.cache-dependencies.cache-hit != 'true'
31
+ run: poetry install
32
33
+ - name: Run test
34
+ run: poetry run invoke test
0 commit comments