Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit99cd205

Browse files
committed
added testing with Github Actionsalexmojaki#115
addressingalexmojaki#115
1 parent03bc1a0 commit99cd205

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

‎.github/workflows/pytest.yml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name:Pytest
2+
on:[push, pull_request]
3+
jobs:
4+
build:
5+
runs-on:ubuntu-latest
6+
strategy:
7+
matrix:
8+
python-version:[3.8]
9+
steps:
10+
-uses:actions/checkout@v2
11+
-name:Set up Python ${{ matrix.python-version }}
12+
uses:actions/setup-python@v2
13+
with:
14+
python-version:${{ matrix.python-version }}
15+
-name:set up Poetry in the backend folder, run tests
16+
working-directory:./backend
17+
run:|
18+
export PATH=$HOME/.poetry/bin/:$PATH
19+
./setup.sh
20+
poetry run pytest -k 'not test_frontend'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp