Skip to content

Commit

Permalink
Cleanup tox.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyg committed Jun 17, 2022
1 parent 1782e71 commit 69b083d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 77 deletions.
34 changes: 0 additions & 34 deletions .devcontainer/devcontainer.json

This file was deleted.

3 changes: 1 addition & 2 deletions .dockerignore
@@ -1,2 +1 @@
node_modules
.tox
node_modules
15 changes: 9 additions & 6 deletions .github/workflows/run-tests.yml
Expand Up @@ -2,9 +2,9 @@ name: Test s3direct

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
build:
Expand All @@ -13,8 +13,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Build image
run: docker build . -t s3direct
- name: Install node deps
run: npm install

- name: Test with Tox
run: docker run -t s3direct tox
- name: Install Python deps
run: pip3 install -r requirements-dev.txt

- name: Run tests
run: npm run tests
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -11,7 +11,6 @@ s3direct/static/s3direct/dist/index.map
.idea
node_modules
npm-debug.log
.tox/
.env
.cache
settings.json
Expand Down
8 changes: 0 additions & 8 deletions Dockerfile

This file was deleted.

8 changes: 0 additions & 8 deletions README.md
Expand Up @@ -66,11 +66,6 @@ Add a CORS policy to your bucket. Note the ETag header is
important as it is used for multipart uploads. For more information see
[here](https://github.com/TTLabs/EvaporateJS/wiki/Configuring-The-AWS-S3-Bucket).

If using Digital Ocean Spaces you must upload the CORS config via the API/s3cmd
CLI (as you can't add the `ExposeHeader` rule). See
[here](https://www.digitalocean.com/community/questions/why-can-i-use-http-localhost-port-with-cors-in-spaces)
for more details.

```json
[
{
Expand Down Expand Up @@ -285,9 +280,6 @@ $ python example/manage.py migrate
$ python example/manage.py createsuperuser
$ python example/manage.py runserver 0.0.0.0:8080

# Run tox tests
$ tox

# Run tests
$ npm run test

Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt
Expand Up @@ -2,4 +2,3 @@ twine==3.1.1
mock==4.0.2
Django==3.1.14
yapf==0.30.0
tox==3.15.2
17 changes: 0 additions & 17 deletions tox.ini

This file was deleted.

0 comments on commit 69b083d

Please sign in to comment.