Skip to content

Commit

Permalink
Merge pull request #29 from codeforjapan/chore/add-ci
Browse files Browse the repository at this point in the history
chore(ci): toxを使ったテストを追加
  • Loading branch information
yu23ki14 authored Nov 1, 2023
2 parents bd441a2 + 7678432 commit b72501f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Project test
on: push

permissions:
contents: read
packages: read

jobs:
test-check:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.12
cache: pip
cache-dependency-path: pyproject.toml
- name: dependency install
run: pip install -e ".[dev]"
- name: copy env
run: cp .env.example .env
- name: test
run: tox

0 comments on commit b72501f

Please sign in to comment.