Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
hnicke committed Aug 4, 2021
1 parent 798933f commit 3164f56
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@ jobs:
with:
python-version: '3.9.2'

- name: Install virtualenv
run: sudo pip install virtualenv

- name: Restore dependencies from cache
id: cache
uses: actions/cache@v2
with:
path: venv
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
key: ${{ runner.os }}-main-venv-${{ hashFiles('setup.py') }}

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, 'chore(release):')
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}

- uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Semantic Release
run: |
pip install python-semantic-release
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ logs:
.PHONY: logs

venv: setup.py
virtualenv venv -p $(shell which python)
python -m venv venv
${activate} && pip install '.[dev]'
@touch venv

Expand Down

0 comments on commit 3164f56

Please sign in to comment.