Skip to content

Commit

Permalink
Merge pull request #51 from neptune-ai/update-integration
Browse files Browse the repository at this point in the history
update integration
  • Loading branch information
Raalsky committed May 24, 2023
2 parents 8518ef3 + b2a3fa5 commit 9b4a465
Show file tree
Hide file tree
Showing 39 changed files with 390 additions and 1,259 deletions.
32 changes: 32 additions & 0 deletions .github/actions/e2e/action.yml
@@ -0,0 +1,32 @@
---
name: Test E2E
description: Run e2e tests
inputs:
working_directory:
description: "Working directory"
required: false
default: .
runs:
using: "composite"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
repository: neptune-ai/neptune-tensorboard
path: ${{ inputs.working_directory }}

- name: Install dependencies
working-directory: ${{ inputs.working_directory }}
run: pip install -e .[dev]
shell: bash

- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
with:
ubuntu-skip-apt-update: true
macos-skip-brew-update: true

- name: Run tests
working-directory: ${{ inputs.working_directory }}
run: pytest -n auto -v
shell: bash
63 changes: 63 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,63 @@
name: tensorboard
on: [push]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

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

- name: Install dependencies
run: |
pip install pre-commit
- name: Pre-commit
run: |
pre-commit run --show-diff-on-failure --color=always
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.9]
steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Test
env:
NEPTUNE_API_TOKEN: ${{ secrets.E2E_NEPTUNE_API_TOKEN }}
NEPTUNE_PROJECT: e2e-tests/e2e
uses: ./.github/actions/e2e

publish:
needs: [pre-commit, test]
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v2

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

- name: Install build dependencies
run: pip install poetry poetry-dynamic-versioning

- name: Build package
run: |
poetry build
- name: Publish package
uses: pypa/gh-action-pypi-publish@v1.5.1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: dist
19 changes: 0 additions & 19 deletions .github/workflows/pre-commit.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,8 @@
## [Unreleased] neptune-tensorboard 1.0.0.pre0

### Changes
- Update integration to work with latest `neptune` client and update the meta-data logging structure ([#51](https://github.com/neptune-ai/neptune-tensorboard/pull/51))

## neptune-tensorboard 0.5.3

### Changes
Expand Down
3 changes: 0 additions & 3 deletions MANIFEST.in

This file was deleted.

13 changes: 0 additions & 13 deletions Makefile

This file was deleted.

20 changes: 0 additions & 20 deletions docs/Makefile

This file was deleted.

Binary file removed docs/_static/tensorboard_neptuneml.png
Binary file not shown.
190 changes: 0 additions & 190 deletions docs/conf.py

This file was deleted.

2 changes: 0 additions & 2 deletions docs/index.rst

This file was deleted.

3 changes: 0 additions & 3 deletions docs_requirements.txt

This file was deleted.

0 comments on commit 9b4a465

Please sign in to comment.